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


Field Summary
protected static Logger LOG
           
 
Constructor Summary
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey)
           
AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey, KeyAlgorithm supportedAlgo)
           
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey)
           
AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey, KeyAlgorithm supportedAlgo)
           
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey)
           
AesGcmWrapKeyDecryptionAlgorithm(String encodedKey, KeyAlgorithm supportedAlgo)
           
 
Method Summary
protected  AlgorithmParameterSpec getAlgorithmParameterSpec(JweDecryptionInput jweDecryptionInput)
           
protected  byte[] getEncryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
           
protected  void validateKeyEncryptionAlgorithm(String keyAlgo)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.WrappedKeyDecryptionAlgorithm
getAlgorithm, getCekDecryptionKey, getContentEncryptionAlgorithm, getDecryptedContentEncryptionKey, getKeyCipherBlockSize, getKeyEncryptionAlgorithm, reportInvalidKeyAlgorithm
 
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

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(String encodedKey,
                                        KeyAlgorithm supportedAlgo)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(byte[] secretKey,
                                        KeyAlgorithm supportedAlgo)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey)

AesGcmWrapKeyDecryptionAlgorithm

public AesGcmWrapKeyDecryptionAlgorithm(SecretKey secretKey,
                                        KeyAlgorithm supportedAlgo)
Method Detail

getEncryptedContentEncryptionKey

protected byte[] getEncryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
Overrides:
getEncryptedContentEncryptionKey in class WrappedKeyDecryptionAlgorithm

getAlgorithmParameterSpec

protected AlgorithmParameterSpec getAlgorithmParameterSpec(JweDecryptionInput jweDecryptionInput)
Overrides:
getAlgorithmParameterSpec in class WrappedKeyDecryptionAlgorithm

validateKeyEncryptionAlgorithm

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


Apache CXF