Class AbstractContentEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
- All Implemented Interfaces:
ContentEncryptionCipherProperties,ContentEncryptionProvider
- Direct Known Subclasses:
AesCbcContentEncryptionAlgorithm,AesGcmContentEncryptionAlgorithm
public abstract class AbstractContentEncryptionAlgorithm
extends AbstractContentEncryptionCipherProperties
implements ContentEncryptionProvider
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
LOG -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo) protectedAbstractContentEncryptionAlgorithm(ContentAlgorithm algo, boolean generateCekOnce) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getContentEncryptionKey(JweHeaders headers) protected intgetContentEncryptionKeySize(JweHeaders headers) byte[]protected intMethods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec, 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
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec
-
Constructor Details
-
AbstractContentEncryptionAlgorithm
-
AbstractContentEncryptionAlgorithm
-
-
Method Details
-
getContentEncryptionKey
- Specified by:
getContentEncryptionKeyin interfaceContentEncryptionProvider
-
getInitVector
public byte[] getInitVector()- Specified by:
getInitVectorin interfaceContentEncryptionProvider
-
getContentEncryptionKeySize
-
getIvSize
protected int getIvSize()
-