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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.JweCompactConsumer

public class JweCompactConsumer
extends Object


Constructor Summary
JweCompactConsumer(String jweContent)
           
 
Method Summary
static byte[] getCipherWithAuthTag(byte[] cipher, byte[] authTag)
           
 byte[] getContentDecryptionCipherInitVector()
           
 byte[] getContentEncryptionCipherAAD()
           
 String getDecodedJsonHeaders()
           
 byte[] getDecryptedContent(JweDecryptionProvider decryption)
           
 String getDecryptedContentText(JweDecryptionProvider decryption)
           
 byte[] getEncryptedContent()
           
 byte[] getEncryptedContentEncryptionKey()
           
 byte[] getEncryptedContentWithAuthTag()
           
 byte[] getEncryptionAuthenticationTag()
           
 JweDecryptionInput getJweDecryptionInput()
           
 JweHeaders getJweHeaders()
           
 boolean validateCriticalHeaders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JweCompactConsumer

public JweCompactConsumer(String jweContent)
Method Detail

getDecodedJsonHeaders

public String getDecodedJsonHeaders()

getJweHeaders

public JweHeaders getJweHeaders()

getEncryptedContentEncryptionKey

public byte[] getEncryptedContentEncryptionKey()

getContentDecryptionCipherInitVector

public byte[] getContentDecryptionCipherInitVector()

getContentEncryptionCipherAAD

public byte[] getContentEncryptionCipherAAD()

getEncryptionAuthenticationTag

public byte[] getEncryptionAuthenticationTag()

getEncryptedContent

public byte[] getEncryptedContent()

getEncryptedContentWithAuthTag

public byte[] getEncryptedContentWithAuthTag()

getJweDecryptionInput

public JweDecryptionInput getJweDecryptionInput()

getCipherWithAuthTag

public static byte[] getCipherWithAuthTag(byte[] cipher,
                                          byte[] authTag)

getDecryptedContent

public byte[] getDecryptedContent(JweDecryptionProvider decryption)

getDecryptedContentText

public String getDecryptedContentText(JweDecryptionProvider decryption)

validateCriticalHeaders

public boolean validateCriticalHeaders()


Apache CXF