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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
      extended by org.apache.cxf.rs.security.jose.jwe.AesGcmWrapKeyDecryptionAlgorithm
All Implemented Interfaces:
KeyDecryptionAlgorithm

public class AesGcmWrapKeyDecryptionAlgorithm
extends WrappedKeyDecryptionAlgorithm


Constructor Summary
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey)
           
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey, String supportedAlgo)
           
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey)
           
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey, String supportedAlgo)
           
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey)
           
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey, String supportedAlgo)
           
 
Method Summary
protected  AlgorithmParameterSpec getAlgorithmParameterSpec(JweCompactConsumer consumer)
           
protected  byte[] getEncryptedContentEncryptionKey(JweCompactConsumer consumer)
           
protected  void validateKeyEncryptionAlgorithm(String keyAlgo)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getKeyCipherBlockSize, getKeyEncryptionAlgorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey,
                                        String supportedAlgo)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey,
                                        String supportedAlgo)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey,
                                        String supportedAlgo)
Method Detail

getEncryptedContentEncryptionKey

protected byte[] getEncryptedContentEncryptionKey(JweCompactConsumer consumer)
Overrides:
getEncryptedContentEncryptionKey in class WrappedKeyDecryptionAlgorithm

getAlgorithmParameterSpec

protected AlgorithmParameterSpec getAlgorithmParameterSpec(JweCompactConsumer consumer)
Overrides:
getAlgorithmParameterSpec in class WrappedKeyDecryptionAlgorithm

validateKeyEncryptionAlgorithm

protected void validateKeyEncryptionAlgorithm(String keyAlgo)
Overrides:
validateKeyEncryptionAlgorithm in class WrappedKeyDecryptionAlgorithm


Apache CXF