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


Constructor Summary
AbstractContentEncryptionCipherProperties(String algo)
           
 
Method Summary
 byte[] getAdditionalAuthenticationData(String headersJson, byte[] aad)
           
 String 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
 

Constructor Detail

AbstractContentEncryptionCipherProperties

public AbstractContentEncryptionCipherProperties(String 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 String getAlgorithm()
Specified by:
getAlgorithm in interface ContentEncryptionCipherProperties


Apache CXF