static 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 |
LegacyAESGCM.encrypt(SecretKey secretKey,
byte[] iv,
byte[] plainText,
byte[] authData) |
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.
|