Skip to content

CmsAes Enum ​

Specifies the AES content-encryption algorithms available for use in CMS (Cryptographic Message Syntax, RFC 5652) envelopes.

Namespace: JASE.Crypto
Assembly: JASE.Crypto.dll

Underlying Type int

Fields ​

NameValueDescription
Aes128Cbc0AES-128 in CBC mode (id-aes128-CBC).
Aes192Cbc1AES-192 in CBC mode (id-aes192-CBC).
Aes256Cbc2AES-256 in CBC mode (id-aes256-CBC).

Remarks ​

These values correspond to the CMS id-aes* algorithm identifiers defined for AES-CBC content encryption:

id-aes128-CBC``id-aes192-CBC``id-aes256-CBC

CBC mode does not include built-in authentication. When using AES-CBC inside CMS, the integrity protection is expected to be provided by CMS itself (e.g., via SignedData or AuthenticatedData).