org.apache.cxf.rs.security.oauth2.jwe
Class WrappedKeyJweDecryption

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.jwe.AbstractJweDecryption
      extended by org.apache.cxf.rs.security.oauth2.jwe.WrappedKeyJweDecryption
All Implemented Interfaces:
JweDecryption
Direct Known Subclasses:
RSAJweDecryption

public class WrappedKeyJweDecryption
extends AbstractJweDecryption


Constructor Summary
WrappedKeyJweDecryption(Key cekDecryptionKey)
           
WrappedKeyJweDecryption(Key cekDecryptionKey, boolean unwrap)
           
WrappedKeyJweDecryption(Key cekDecryptionKey, boolean unwrap, JweCryptoProperties props)
           
WrappedKeyJweDecryption(Key cekDecryptionKey, boolean unwrap, JweCryptoProperties props, JwtHeadersReader reader)
           
WrappedKeyJweDecryption(Key cekDecryptionKey, JweCryptoProperties props)
           
 
Method Summary
protected  Key getCekDecryptionKey()
           
protected  byte[] getContentEncryptionKey(JweCompactConsumer consumer)
           
protected  int getKeyCipherBlockSize()
           
protected  String getKeyEncryptionAlgorithm(JweCompactConsumer consumer)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.jwe.AbstractJweDecryption
decrypt, decrypt, doDecrypt, getContentEncryptionAlgorithm, getContentEncryptionCipherAAD, getContentEncryptionCipherInitVector, getContentEncryptionCipherSpec, getEncryptedContentEncryptionKey, getEncryptedContentWithAuthTag, getEncryptionAuthenticationTag, getEncryptionAuthenticationTagLenBits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedKeyJweDecryption

public WrappedKeyJweDecryption(Key cekDecryptionKey)

WrappedKeyJweDecryption

public WrappedKeyJweDecryption(Key cekDecryptionKey,
                               boolean unwrap)

WrappedKeyJweDecryption

public WrappedKeyJweDecryption(Key cekDecryptionKey,
                               JweCryptoProperties props)

WrappedKeyJweDecryption

public WrappedKeyJweDecryption(Key cekDecryptionKey,
                               boolean unwrap,
                               JweCryptoProperties props)

WrappedKeyJweDecryption

public WrappedKeyJweDecryption(Key cekDecryptionKey,
                               boolean unwrap,
                               JweCryptoProperties props,
                               JwtHeadersReader reader)
Method Detail

getContentEncryptionKey

protected byte[] getContentEncryptionKey(JweCompactConsumer consumer)
Specified by:
getContentEncryptionKey in class AbstractJweDecryption

getCekDecryptionKey

protected Key getCekDecryptionKey()

getKeyCipherBlockSize

protected int getKeyCipherBlockSize()

getKeyEncryptionAlgorithm

protected String getKeyEncryptionAlgorithm(JweCompactConsumer consumer)


Apache CXF