org.apache.cxf.rs.security.oauth2.jwe
Class AbstractJweDecryption
java.lang.Object
org.apache.cxf.rs.security.oauth2.jwe.AbstractJweDecryption
- All Implemented Interfaces:
- JweDecryption
- Direct Known Subclasses:
- DirectKeyJweDecryption, WrappedKeyJweDecryption
public abstract class AbstractJweDecryption
- extends Object
- implements JweDecryption
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJweDecryption
protected AbstractJweDecryption(JweCryptoProperties props,
JwtHeadersReader thereader)
getContentEncryptionKey
protected abstract byte[] getContentEncryptionKey(JweCompactConsumer consumer)
decrypt
public JweDecryptionOutput decrypt(String content)
- Specified by:
decrypt in interface JweDecryption
decrypt
public byte[] decrypt(JweCompactConsumer consumer)
- Specified by:
decrypt in interface JweDecryption
doDecrypt
protected JweDecryptionOutput doDecrypt(JweCompactConsumer consumer)
getEncryptedContentEncryptionKey
protected byte[] getEncryptedContentEncryptionKey(JweCompactConsumer consumer)
getContentEncryptionCipherSpec
protected AlgorithmParameterSpec getContentEncryptionCipherSpec(JweCompactConsumer consumer)
getContentEncryptionAlgorithm
protected String getContentEncryptionAlgorithm(JweCompactConsumer consumer)
getContentEncryptionCipherAAD
protected byte[] getContentEncryptionCipherAAD(JweCompactConsumer consumer)
getEncryptedContentWithAuthTag
protected byte[] getEncryptedContentWithAuthTag(JweCompactConsumer consumer)
getContentEncryptionCipherInitVector
protected byte[] getContentEncryptionCipherInitVector(JweCompactConsumer consumer)
getEncryptionAuthenticationTag
protected byte[] getEncryptionAuthenticationTag(JweCompactConsumer consumer)
getEncryptionAuthenticationTagLenBits
protected int getEncryptionAuthenticationTagLenBits(JweCompactConsumer consumer)
Apache CXF