Class AbstractContentEncryptionCipherProperties
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
-
- All Implemented Interfaces:
ContentEncryptionCipherProperties
- Direct Known Subclasses:
AbstractContentEncryptionAlgorithm,AesGcmContentDecryptionAlgorithm
public abstract class AbstractContentEncryptionCipherProperties extends Object implements ContentEncryptionCipherProperties
-
-
Constructor Summary
Constructors Constructor Description AbstractContentEncryptionCipherProperties(ContentAlgorithm algo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getAdditionalAuthenticationData(String headersJson, byte[] aad)ContentAlgorithmgetAlgorithm()AlgorithmParameterSpecgetAlgorithmParameterSpec(byte[] theIv)protected intgetAuthTagLen()
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Constructor Detail
-
AbstractContentEncryptionCipherProperties
public AbstractContentEncryptionCipherProperties(ContentAlgorithm algo)
-
-
Method Detail
-
getAlgorithmParameterSpec
public AlgorithmParameterSpec getAlgorithmParameterSpec(byte[] theIv)
- Specified by:
getAlgorithmParameterSpecin interfaceContentEncryptionCipherProperties
-
getAdditionalAuthenticationData
public byte[] getAdditionalAuthenticationData(String headersJson, byte[] aad)
- Specified by:
getAdditionalAuthenticationDatain interfaceContentEncryptionCipherProperties
-
getAuthTagLen
protected int getAuthTagLen()
-
getAlgorithm
public ContentAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceContentEncryptionCipherProperties
-
-