Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following table shows the key encryption algorithms and the corresponding providers:

RSAKeyEncryptionAlgorithm

 KeyEncryptionProviderKeyDecryptionProvider
RSAES-PKCS1-v1_5
RSAKeyEncryptionAlgorithm
RSAKeyDecryptionAlgorithm
RSAES OAEPRSAKeyEncryptionAlgorithmRSAKeyDecryptionAlgorithm
AES Key WrapAesKeyWrapEncryptionAlgorithmAesKeyWrapDecryptionAlgorithm
DirectDirectKeyEncryptionAlgorithmDirectKeyDecryptionAlgorithm
ECDH-ES WrapEcDsaJwsSignatureProviderEcDsaJwsSignatureVerifier
RSASSA-PSSPrivateKeyJwsSignatureProviderPublicKeyJwsSignatureVerifier
NoneNoneJwsSignatureProviderNoneJwsSignatureVerifier
EcdhAesWrapKeyEncryptionAlgorithmEcdhAesWrapKeyDecryptionAlgorithm
ECDH-ES DirectEcdhDirectKeyJweEncryptionEcdhDirectKeyJweDecryption
AES-GCMAesGcmWrapKeyEncryptionAlgorithmAesGcmWrapKeyDecryptionAlgorithm
PBES2 PbesHmacAesWrapKeyEncryptionAlgorithm PbesHmacAesWrapKeyDecryptionAlgorithm

 

ContentEncryptionProvider supports encrypting a generated content-encryption key, ContentDecryptionProvider - decrypting it.

The following table shows the content encryption algorithms and the corresponding providers:

 ContentEncryptionProviderContentDecryptionProvider
AES_CBC_HMAC_SHA2
AesCbcHmacJweEncryption
AesCbcHmacJweDecryption
AES-GCMAesGcmContentEncryptionAlgorithmAesGcmContentDecryptionAlgorithm

All of the above Either of these providers can be initialized with the keys loaded from JWK or JCA stores or from the in-memory representations.

...