Uses of Class
com.nimbusds.jose.crypto.impl.AuthenticatedCipherText
Packages that use AuthenticatedCipherText
Package
Description
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto
package.-
Uses of AuthenticatedCipherText in com.nimbusds.jose.crypto.impl
Methods in com.nimbusds.jose.crypto.impl that return AuthenticatedCipherTextModifier and TypeMethodDescriptionstatic AuthenticatedCipherText
AESGCM.encrypt
(SecretKey secretKey, Container<byte[]> ivContainer, byte[] plainText, byte[] authData, Provider provider) Encrypts the specified plain text using AES/GCM/NoPadding.static AuthenticatedCipherText
AESCBC.encryptAuthenticated
(SecretKey secretKey, byte[] iv, byte[] plainText, byte[] aad, Provider ceProvider, Provider macProvider) Encrypts the specified plain text using AES/CBC/PKCS5Padding/ HMAC-SHA2.static AuthenticatedCipherText
XC20P.encryptAuthenticated
(SecretKey secretKey, Container<byte[]> ivContainer, byte[] plainText, byte[] authData) Encrypts the specified plain text using XChaCha20_Poly1305.static AuthenticatedCipherText
AESGCMKW.encryptCEK
(SecretKey cek, Container<byte[]> iv, SecretKey kek, Provider provider) Encrypts the specified Content Encryption Key (CEK).static AuthenticatedCipherText
AESCBC.encryptWithConcatKDF
(JWEHeader header, SecretKey secretKey, Base64URL encryptedKey, byte[] iv, byte[] plainText, Provider ceProvider, Provider macProvider) Encrypts the specified plain text using the deprecated concat KDF from JOSE draft suite 09.Methods in com.nimbusds.jose.crypto.impl with parameters of type AuthenticatedCipherTextModifier and TypeMethodDescriptionstatic SecretKey
AESGCMKW.decryptCEK
(SecretKey kek, byte[] iv, AuthenticatedCipherText authEncrCEK, int keyLength, Provider provider) Decrypts the specified encrypted Content Encryption Key (CEK).