Class AesGcmWrapKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.AbstractWrapKeyEncryptionAlgorithm
org.apache.cxf.rs.security.jose.jwe.AesGcmWrapKeyEncryptionAlgorithm
- All Implemented Interfaces:
KeyEncryptionProvider
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractWrapKeyEncryptionAlgorithm
LOG -
Constructor Summary
ConstructorsConstructorDescriptionAesGcmWrapKeyEncryptionAlgorithm(byte[] keyBytes, KeyAlgorithm keyAlgoJwt) AesGcmWrapKeyEncryptionAlgorithm(String encodedKey, KeyAlgorithm keyAlgoJwt) AesGcmWrapKeyEncryptionAlgorithm(SecretKey key, KeyAlgorithm keyAlgoJwt) -
Method Summary
Modifier and TypeMethodDescriptionprotected AlgorithmParameterSpecgetAlgorithmParameterSpec(JweHeaders headers) byte[]getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek) Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractWrapKeyEncryptionAlgorithm
checkAlgorithm, checkAlgorithms, getAlgorithm, getContentEncryptionAlgoJava, getKeyEncryptionAlgoJava
-
Constructor Details
-
AesGcmWrapKeyEncryptionAlgorithm
-
AesGcmWrapKeyEncryptionAlgorithm
-
AesGcmWrapKeyEncryptionAlgorithm
-
-
Method Details
-
getEncryptedContentEncryptionKey
- Specified by:
getEncryptedContentEncryptionKeyin interfaceKeyEncryptionProvider- Overrides:
getEncryptedContentEncryptionKeyin classAbstractWrapKeyEncryptionAlgorithm
-
getAlgorithmParameterSpec
- Overrides:
getAlgorithmParameterSpecin classAbstractWrapKeyEncryptionAlgorithm
-