Class AesCbcContentEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
org.apache.cxf.rs.security.jose.jwe.AesCbcContentEncryptionAlgorithm
- All Implemented Interfaces:
ContentEncryptionCipherProperties,ContentEncryptionProvider
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
LOG -
Constructor Summary
ConstructorsConstructorDescriptionAesCbcContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo) AesCbcContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getAdditionalAuthenticationData(String headersJson, byte[] aad) getAlgorithmParameterSpec(byte[] theIv) protected intgetContentEncryptionKeySize(JweHeaders headers) protected static intgetFullCekKeySize(String algoJwt) protected static StringgetHMACAlgorithm(String algoJwt) protected static ContentAlgorithmvalidateCekAlgorithm(ContentAlgorithm cekAlgo) Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
getContentEncryptionKey, getInitVector, getIvSizeMethods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
getAlgorithm, getAuthTagLenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.rs.security.jose.jwe.ContentEncryptionCipherProperties
getAlgorithm
-
Constructor Details
-
AesCbcContentEncryptionAlgorithm
-
AesCbcContentEncryptionAlgorithm
-
-
Method Details
-
getAlgorithmParameterSpec
- Specified by:
getAlgorithmParameterSpecin interfaceContentEncryptionCipherProperties- Overrides:
getAlgorithmParameterSpecin classAbstractContentEncryptionCipherProperties
-
getAdditionalAuthenticationData
- Specified by:
getAdditionalAuthenticationDatain interfaceContentEncryptionCipherProperties- Overrides:
getAdditionalAuthenticationDatain classAbstractContentEncryptionCipherProperties
-
getContentEncryptionKeySize
- Overrides:
getContentEncryptionKeySizein classAbstractContentEncryptionAlgorithm
-
getFullCekKeySize
-
getHMACAlgorithm
-
validateCekAlgorithm
-