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:
ContentEncryptionAlgorithm, ContentEncryptionCipherProperties

public class AesGcmContentEncryptionAlgorithm
extends AbstractContentEncryptionAlgorithm


Constructor Summary
AesGcmContentEncryptionAlgorithm(byte[] cek, byte[] iv, String algo)
           
AesGcmContentEncryptionAlgorithm(SecretKey key, byte[] iv, String algo)
           
AesGcmContentEncryptionAlgorithm(String algo)
           
AesGcmContentEncryptionAlgorithm(String encodedCek, String encodedIv, String algo)
           
 
Method Summary
protected  int getIvSize()
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionAlgorithm
getAlgorithm, getContentEncryptionKey, getInitVector
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractContentEncryptionCipherProperties
getAdditionalAuthenticationData, 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, getAlgorithmParameterSpec
 

Constructor Detail

AesGcmContentEncryptionAlgorithm

public AesGcmContentEncryptionAlgorithm(String algo)

AesGcmContentEncryptionAlgorithm

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

AesGcmContentEncryptionAlgorithm

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

AesGcmContentEncryptionAlgorithm

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

getIvSize

protected int getIvSize()
Overrides:
getIvSize in class AbstractContentEncryptionAlgorithm


Apache CXF