public abstract class AbstractJweDecryption extends Object implements JweDecryptionProvider
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJweDecryption(KeyDecryptionProvider keyDecryptionAlgo,
ContentDecryptionProvider contentDecryptionAlgo) |
protected static final Logger LOG
protected AbstractJweDecryption(KeyDecryptionProvider keyDecryptionAlgo, ContentDecryptionProvider contentDecryptionAlgo)
protected byte[] getContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
public JweDecryptionOutput decrypt(String content)
decrypt in interface JweDecryptionProviderpublic byte[] decrypt(JweDecryptionInput jweDecryptionInput)
decrypt in interface JweDecryptionProviderprotected JweDecryptionOutput doDecrypt(JweDecryptionInput jweDecryptionInput, byte[] cek)
protected byte[] getEncryptedContentEncryptionKey(JweCompactConsumer consumer)
protected AlgorithmParameterSpec getContentEncryptionCipherSpec(JweDecryptionInput jweDecryptionInput)
protected String getContentEncryptionAlgorithm(JweDecryptionInput jweDecryptionInput)
protected byte[] getContentEncryptionCipherAAD(JweDecryptionInput jweDecryptionInput)
protected byte[] getEncryptedContentWithAuthTag(JweDecryptionInput jweDecryptionInput)
protected byte[] getContentEncryptionCipherInitVector(JweDecryptionInput jweDecryptionInput)
protected byte[] getEncryptionAuthenticationTag(JweDecryptionInput jweDecryptionInput)
protected int getEncryptionAuthenticationTagLenBits(JweDecryptionInput jweDecryptionInput)
protected byte[] getActualCek(byte[] theCek,
String algoJwt)
public KeyAlgorithm getKeyAlgorithm()
getKeyAlgorithm in interface JweKeyPropertiespublic ContentAlgorithm getContentAlgorithm()
getContentAlgorithm in interface JweKeyPropertiesApache CXF