static AuthenticatedCipherText |
AESGCM.encrypt(javax.crypto.SecretKey secretKey,
Container<byte[]> ivContainer,
byte[] plainText,
byte[] authData,
java.security.Provider provider) |
Encrypts the specified plain text using AES/GCM/NoPadding.
|
static AuthenticatedCipherText |
LegacyAESGCM.encrypt(javax.crypto.SecretKey secretKey,
byte[] iv,
byte[] plainText,
byte[] authData) |
Encrypts the specified plain text using AES/GCM/NoPadding.
|
static AuthenticatedCipherText |
AESCBC.encryptAuthenticated(javax.crypto.SecretKey secretKey,
byte[] iv,
byte[] plainText,
byte[] aad,
java.security.Provider ceProvider,
java.security.Provider macProvider) |
Encrypts the specified plain text using AES/CBC/PKCS5Padding/
HMAC-SHA2.
|
static AuthenticatedCipherText |
XC20P.encryptAuthenticated(javax.crypto.SecretKey secretKey,
Container<byte[]> ivContainer,
byte[] plainText,
byte[] authData) |
Encrypts the specified plain text using XChaCha20_Poly1305.
|
static AuthenticatedCipherText |
AESGCMKW.encryptCEK(javax.crypto.SecretKey cek,
Container<byte[]> iv,
javax.crypto.SecretKey kek,
java.security.Provider provider) |
Encrypts the specified Content Encryption Key (CEK).
|
static AuthenticatedCipherText |
AESCBC.encryptWithConcatKDF(JWEHeader header,
javax.crypto.SecretKey secretKey,
Base64URL encryptedKey,
byte[] iv,
byte[] plainText,
java.security.Provider ceProvider,
java.security.Provider macProvider) |
Encrypts the specified plain text using the deprecated concat KDF
from JOSE draft suite 09.
|