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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
      extended by org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
          extended by org.apache.cxf.rs.security.jose.jwe.AesGcmContentEncryptionAlgorithm
All Implemented Interfaces:
ContentEncryptionCipherProperties, ContentEncryptionProvider
Direct Known Subclasses:
EcdhDirectKeyJweEncryption.EcdhAesGcmContentEncryptionAlgorithm

public class AesGcmContentEncryptionAlgorithm
extends AbstractContentEncryptionAlgorithm


Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
LOG
 
Constructor Summary
AesGcmContentEncryptionAlgorithm(byte[] cek, byte[] iv, ContentAlgorithm algo)
           
AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo)
           
AesGcmContentEncryptionAlgorithm(SecretKey key, byte[] iv, ContentAlgorithm algo)
           
AesGcmContentEncryptionAlgorithm(String encodedCek, String encodedIv, ContentAlgorithm algo)
           
 
Method Summary
protected  int getIvSize()
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
getContentEncryptionKey, getInitVector
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec, getAuthTagLen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.rs.security.jose.jwe.ContentEncryptionCipherProperties
getAdditionalAuthenticationData, getAlgorithm, getAlgorithmParameterSpec
 

Constructor Detail

AesGcmContentEncryptionAlgorithm

public AesGcmContentEncryptionAlgorithm(ContentAlgorithm algo)

AesGcmContentEncryptionAlgorithm

public AesGcmContentEncryptionAlgorithm(String encodedCek,
                                        String encodedIv,
                                        ContentAlgorithm algo)

AesGcmContentEncryptionAlgorithm

public AesGcmContentEncryptionAlgorithm(SecretKey key,
                                        byte[] iv,
                                        ContentAlgorithm algo)

AesGcmContentEncryptionAlgorithm

public AesGcmContentEncryptionAlgorithm(byte[] cek,
                                        byte[] iv,
                                        ContentAlgorithm algo)
Method Detail

getIvSize

protected int getIvSize()
Overrides:
getIvSize in class AbstractContentEncryptionAlgorithm


Apache CXF