JweEncryption
Supported JWE algorithms.
Properties
Auth tag length. Should we support unauthenticated encryption algorithms, this would be zero.
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.
for integrated AEAD algorithms, this is zero. For bolted-on AEAD algorithms with a dedicated MAC, this behaves as the name implies
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.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Functions
parses KWE key bytes for this algorithm and converts them to a SymmetricKey.
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.)
Returns an array containing the constants of this enum type, in the order they're declared.