All Methods Static Methods Concrete Methods
| Modifier and Type |
Method |
Description |
static void |
checkEncryptionKeySize(Key key) |
|
static JweDecryptionProvider |
createJweDecryptionProvider(PrivateKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentDecryptionAlgo) |
|
static JweDecryptionProvider |
createJweDecryptionProvider(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentDecryptionAlgo) |
|
static JweDecryptionProvider |
createJweDecryptionProvider(KeyDecryptionProvider keyDecryptionProvider,
ContentAlgorithm contentDecryptionAlgo) |
|
static JweDecryptionProvider |
createJweDecryptionProvider(JsonWebKey key,
ContentAlgorithm contentDecryptionAlgo) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(PublicKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentEncryptionAlgo) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(PublicKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentEncryptionAlgo,
String compression) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(PublicKey key,
JweHeaders headers) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentEncryptionAlgo) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentEncryptionAlgo,
String compression) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(SecretKey key,
JweHeaders headers) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
ContentAlgorithm contentEncryptionAlgo,
String compression) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
JweHeaders headers) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(KeyEncryptionProvider keyEncryptionProvider,
JweHeaders headers,
boolean generateCekOnce) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(JsonWebKey key,
ContentAlgorithm contentEncryptionAlgo) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(JsonWebKey key,
ContentAlgorithm contentEncryptionAlgo,
String compression) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers,
boolean generateCekOnce) |
|
static JweEncryptionProvider |
createJweEncryptionProvider(JsonWebKey key,
JweHeaders headers,
ContentEncryptionProvider contentEncryptionProvider) |
|
static byte[] |
decrypt(PrivateKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
String content) |
|
static byte[] |
decrypt(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
String content) |
|
static byte[] |
decrypt(JsonWebKey key,
ContentAlgorithm contentAlgo,
String content) |
|
static byte[] |
decryptDirect(SecretKey key,
ContentAlgorithm contentAlgo,
String content) |
|
static byte[] |
decryptDirect(JsonWebKey key,
String content) |
|
static String |
encrypt(PublicKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
byte[] content) |
|
static String |
encrypt(PublicKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
byte[] content,
String ct) |
|
static String |
encrypt(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
byte[] content) |
|
static String |
encrypt(SecretKey key,
KeyAlgorithm keyAlgo,
ContentAlgorithm contentAlgo,
byte[] content,
String ct) |
|
static String |
encrypt(JsonWebKey key,
ContentAlgorithm contentAlgo,
byte[] content,
String ct) |
|
static String |
encryptDirect(SecretKey key,
ContentAlgorithm contentAlgo,
byte[] content) |
|
static String |
encryptDirect(SecretKey key,
ContentAlgorithm contentAlgo,
byte[] content,
String ct) |
|
static String |
encryptDirect(JsonWebKey key,
byte[] content,
String ct) |
|
static byte[] |
getAdditionalAuthenticationData(String headersJson,
byte[] aad) |
|
static ContentDecryptionProvider |
getContentDecryptionProvider(ContentAlgorithm algorithm) |
|
static SecretKey |
getContentDecryptionSecretKey(JsonWebKey jwk) |
|
static SecretKey |
getContentDecryptionSecretKey(JsonWebKey jwk,
String defaultAlgorithm) |
|
static ContentAlgorithm |
getContentEncryptionAlgorithm(Properties props) |
|
static ContentAlgorithm |
getContentEncryptionAlgorithm(Properties props,
ContentAlgorithm defaultAlgo) |
|
static ContentAlgorithm |
getContentEncryptionAlgorithm(Message m,
Properties props,
ContentAlgorithm defaultAlgo) |
|
static ContentAlgorithm |
getContentEncryptionAlgorithm(Message m,
Properties props,
ContentAlgorithm algo,
ContentAlgorithm defaultAlgo) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(byte[] key,
ContentAlgorithm algorithm) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(SecretKey key,
ContentAlgorithm algorithm) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(ContentAlgorithm algorithm) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(ContentAlgorithm algorithm,
boolean generateCekOnce) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(JsonWebKey jwk) |
|
static ContentEncryptionProvider |
getContentEncryptionProvider(JsonWebKey jwk,
ContentAlgorithm defaultAlgorithm) |
|
static JweDecryption |
getDirectKeyJweDecryption(byte[] key,
ContentAlgorithm algorithm) |
|
static JweDecryption |
getDirectKeyJweDecryption(SecretKey key,
ContentAlgorithm algorithm) |
|
static JweDecryption |
getDirectKeyJweDecryption(JsonWebKey key) |
|
static JweEncryption |
getDirectKeyJweEncryption(byte[] key,
ContentAlgorithm algo) |
|
static JweEncryption |
getDirectKeyJweEncryption(SecretKey key,
ContentAlgorithm algo) |
|
static JweEncryption |
getDirectKeyJweEncryption(JsonWebKey key) |
|
static ContentEncryptionProvider |
getEcdhDirectContentEncryptionProvider(JsonWebKey key,
JweHeaders headers) |
|
static byte[] |
getECDHKey(ECPrivateKey privateKey,
ECPublicKey peerPublicKey,
byte[] partyUInfo,
byte[] partyVInfo,
String algoName,
int algoKeyBitLen) |
|
static byte[] |
getECDHKey(JsonWebKey privateKey,
JsonWebKey peerPublicKey,
byte[] partyUInfo,
byte[] partyVInfo,
String algoName,
int algoKeyBitLen) |
|
static JweDecryption |
getEcDirectKeyJweDecryption(JsonWebKey key,
ContentAlgorithm ctAlgo) |
|
static JweEncryption |
getEcDirectKeyJweEncryption(JsonWebKey key,
ContentAlgorithm ctAlgo) |
|
static KeyDecryptionProvider |
getKeyDecryptionProvider(JsonWebKey jwk) |
|
static KeyDecryptionProvider |
getKeyDecryptionProvider(JsonWebKey jwk,
KeyAlgorithm defaultAlgorithm) |
|
static KeyAlgorithm |
getKeyEncryptionAlgorithm(Properties props,
KeyAlgorithm defaultAlgo) |
|
static KeyAlgorithm |
getKeyEncryptionAlgorithm(Message m,
Properties props,
KeyAlgorithm defaultAlgo) |
|
static KeyAlgorithm |
getKeyEncryptionAlgorithm(Message m,
Properties props,
KeyAlgorithm algo,
KeyAlgorithm defaultAlgo) |
|
static KeyEncryptionProvider |
getKeyEncryptionProvider(JsonWebKey jwk) |
|
static KeyEncryptionProvider |
getKeyEncryptionProvider(JsonWebKey jwk,
KeyAlgorithm defaultAlgorithm) |
|
static KeyDecryptionProvider |
getPrivateKeyDecryptionProvider(PrivateKey key,
KeyAlgorithm algo) |
|
static KeyEncryptionProvider |
getPublicKeyEncryptionProvider(PublicKey key,
Properties props,
KeyAlgorithm algo) |
|
static KeyEncryptionProvider |
getPublicKeyEncryptionProvider(PublicKey key,
KeyAlgorithm algo) |
|
static KeyDecryptionProvider |
getSecretKeyDecryptionProvider(SecretKey key,
KeyAlgorithm algo) |
|
static KeyEncryptionProvider |
getSecretKeyEncryptionAlgorithm(SecretKey key,
KeyAlgorithm algo) |
|
static JweDecryptionProvider |
loadDecryptionProvider(boolean required) |
|
static JweDecryptionProvider |
loadDecryptionProvider(Properties props,
JweHeaders inHeaders) |
|
static JweDecryptionProvider |
loadDecryptionProvider(JweHeaders inHeaders,
boolean required) |
|
static Properties |
loadEncryptionInProperties(boolean required) |
|
static Properties |
loadEncryptionOutProperties(boolean required) |
|
static Properties |
loadEncryptionProperties(String propertiesName,
boolean required) |
|
static JweEncryptionProvider |
loadEncryptionProvider(boolean required) |
|
static JweEncryptionProvider |
loadEncryptionProvider(Properties props,
Message m,
JweHeaders headers) |
|
static JweEncryptionProvider |
loadEncryptionProvider(Properties props,
JweHeaders headers) |
|
static JweEncryptionProvider |
loadEncryptionProvider(JweHeaders headers,
boolean required) |
|
static Properties |
loadJweProperties(Message m,
String propLoc) |
|
static KeyEncryptionProvider |
loadKeyEncryptionProvider(Properties props,
Message m,
JweHeaders headers) |
|
static JsonWebKeys |
loadPublicKeyEncryptionKeys(Message m,
Properties props) |
|
static boolean |
validateCriticalHeaders(JoseHeaders headers) |
|