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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption
      extended by org.apache.cxf.rs.security.jose.jwe.AesCbcHmacJweDecryption
All Implemented Interfaces:
JweDecryptionProvider, JweKeyProperties

public class AesCbcHmacJweDecryption
extends AbstractJweDecryption


Constructor Summary
AesCbcHmacJweDecryption(KeyDecryptionAlgorithm keyDecryptionAlgo)
           
AesCbcHmacJweDecryption(KeyDecryptionAlgorithm keyDecryptionAlgo, String supportedAlgo)
           
 
Method Summary
protected  JweDecryptionOutput doDecrypt(JweDecryptionInput jweDecryptionInput, byte[] cek)
           
protected  byte[] getActualCek(byte[] theCek, String algoJwt)
           
protected  void validateAuthenticationTag(JweDecryptionInput jweDecryptionInput, byte[] theCek)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption
decrypt, decrypt, getContentAlgorithm, getContentEncryptionAlgorithm, getContentEncryptionCipherAAD, getContentEncryptionCipherInitVector, getContentEncryptionCipherSpec, getContentEncryptionKey, getEncryptedContentEncryptionKey, getEncryptedContentWithAuthTag, getEncryptionAuthenticationTag, getEncryptionAuthenticationTagLenBits, getKeyAlgorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AesCbcHmacJweDecryption

public AesCbcHmacJweDecryption(KeyDecryptionAlgorithm keyDecryptionAlgo)

AesCbcHmacJweDecryption

public AesCbcHmacJweDecryption(KeyDecryptionAlgorithm keyDecryptionAlgo,
                               String supportedAlgo)
Method Detail

doDecrypt

protected JweDecryptionOutput doDecrypt(JweDecryptionInput jweDecryptionInput,
                                        byte[] cek)
Overrides:
doDecrypt in class AbstractJweDecryption

getActualCek

protected byte[] getActualCek(byte[] theCek,
                              String algoJwt)
Overrides:
getActualCek in class AbstractJweDecryption

validateAuthenticationTag

protected void validateAuthenticationTag(JweDecryptionInput jweDecryptionInput,
                                         byte[] theCek)


Apache CXF