Class JWEBuilder.EncryptionBuilder
java.lang.Object
org.jboss.resteasy.jose.jwe.JWEBuilder.EncryptionBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA128GCM()
A256GCM()
dir
(byte[] secret) Secret must meet the size requirements of the EncryptionMethod.Hashes the string into the required secret key size defined by the EncryptionMethod.RSA_OAEP
(RSAPublicKey publicKey) RSA1_5
(RSAPublicKey publicKey)
-
Constructor Details
-
EncryptionBuilder
public EncryptionBuilder()
-
-
Method Details
-
compressed
-
A128CBC_HS256
-
A256CBC_HS512
-
A128GCM
-
A256GCM
-
RSA1_5
-
RSA_OAEP
-
dir
-
dir
Secret must meet the size requirements of the EncryptionMethod.- Parameters:
secret
- secret key- Returns:
- encrypted data
-
dir
-