JweEncryption

Supported JWE algorithms.

See RFC 7516 and also RFC 7518

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Auth tag length. Should we support unauthenticated encryption algorithms, this would be zero.

Link copied to clipboard

For integrated AEAD algorithms, this is the length of the sole key. For bolted-on AEAD algorithms with a dedicated MAC key, such as AES-CBC+HMAC, this is the length of the encryption key plus the length dedicated MAC key.

Link copied to clipboard

for integrated AEAD algorithms, this is zero. For bolted-on AEAD algorithms with a dedicated MAC, this behaves as the name implies

Link copied to clipboard

For integrated AEAD algorithms, this is the length of the sole key. For bolted-on AEAD algorithms with a dedicated MAC key, such as AES-CBC+HMAC, this is the length of the encryption key without the dedicated MAC key.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

parses KWE key bytes for this algorithm and converts them to a SymmetricKey.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.