EncryptionContentAlgorithm
Sealed class representing the JWE content encryption algorithms defined in RFC 7518 §5.
The content encryption algorithm determines how the plaintext payload is encrypted and integrity-protected inside the JWE compact serialization. The supported algorithms are:
AesGCMBased — AES in GCM mode (A128GCM, A192GCM, A256GCM).
AesCBCBased — AES in CBC mode combined with HMAC (A128CbcHs256, A192CbcHs384, A256CbcHs512).
Use fromId to look up an instance by its JWA identifier string.
See also
Inheritors
Types
AES-128 CBC with HMAC-SHA-256 (A128CBC-HS256) content encryption algorithm.
AES-128 in GCM mode (A128GCM) content encryption algorithm.
AES-192 CBC with HMAC-SHA-384 (A192CBC-HS384) content encryption algorithm.
AES-192 in GCM mode (A192GCM) content encryption algorithm.
AES-256 CBC with HMAC-SHA-512 (A256CBC-HS512) content encryption algorithm.
AES-256 in GCM mode (A256GCM) content encryption algorithm.
Base class for AES CBC + HMAC content encryption algorithms (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512).
Base class for AES GCM content encryption algorithms (A128GCM, A192GCM, A256GCM).