org.apache.cxf.rs.security.jose.jwe
Class AbstractContentEncryptionCipherProperties

java.lang.Object
  extended by 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


Field Summary
protected static Logger LOG
           
 
Constructor Summary
AbstractContentEncryptionCipherProperties(ContentAlgorithm algo)
           
 
Method Summary
 byte[] getAdditionalAuthenticationData(String headersJson, byte[] aad)
           
 ContentAlgorithm getAlgorithm()
           
 AlgorithmParameterSpec getAlgorithmParameterSpec(byte[] theIv)
           
protected  int getAuthTagLen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
getAlgorithmParameterSpec in interface ContentEncryptionCipherProperties

getAdditionalAuthenticationData

public byte[] getAdditionalAuthenticationData(String headersJson,
                                              byte[] aad)
Specified by:
getAdditionalAuthenticationData in interface ContentEncryptionCipherProperties

getAuthTagLen

protected int getAuthTagLen()

getAlgorithm

public ContentAlgorithm getAlgorithm()
Specified by:
getAlgorithm in interface ContentEncryptionCipherProperties


Apache CXF