Class AesGcmWrapKeyDecryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
org.apache.cxf.rs.security.jose.jwe.AesGcmWrapKeyDecryptionAlgorithm
- All Implemented Interfaces:
KeyDecryptionProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey) AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey, KeyAlgorithm supportedAlgo) AesGcmWrapKeyDecryptionAlgorithm(String encodedKey) AesGcmWrapKeyDecryptionAlgorithm(String encodedKey, KeyAlgorithm supportedAlgo) AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey) AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey, KeyAlgorithm supportedAlgo) -
Method Summary
Modifier and TypeMethodDescriptionprotected AlgorithmParameterSpecgetAlgorithmParameterSpec(JweDecryptionInput jweDecryptionInput) protected byte[]getEncryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput) protected voidvalidateKeyEncryptionAlgorithm(String keyAlgo) Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getKeyCipherBlockSize, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
-
Field Details
-
LOG
-
-
Constructor Details
-
AesGcmWrapKeyDecryptionAlgorithm
-
AesGcmWrapKeyDecryptionAlgorithm
-
AesGcmWrapKeyDecryptionAlgorithm
public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey) -
AesGcmWrapKeyDecryptionAlgorithm
-
AesGcmWrapKeyDecryptionAlgorithm
-
AesGcmWrapKeyDecryptionAlgorithm
-
-
Method Details
-
getEncryptedContentEncryptionKey
- Overrides:
getEncryptedContentEncryptionKeyin classWrappedKeyDecryptionAlgorithm
-
getAlgorithmParameterSpec
- Overrides:
getAlgorithmParameterSpecin classWrappedKeyDecryptionAlgorithm
-
validateKeyEncryptionAlgorithm
- Overrides:
validateKeyEncryptionAlgorithmin classWrappedKeyDecryptionAlgorithm
-