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

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

public class JweCompactConsumer
extends Object


Constructor Summary
JweCompactConsumer(String jweContent)
           
JweCompactConsumer(String jweContent, JwtHeadersReader reader)
           
 
Method Summary
 void enforceJweCryptoProperties(JweCryptoProperties props)
           
 byte[] getContentDecryptionCipherInitVector()
           
 byte[] getContentEncryptionCipherAAD()
           
 String getDecodedJsonHeaders()
           
 byte[] getDecryptedContent(JweDecryption decryption)
           
 String getDecryptedContentText(JweDecryption decryption)
           
 byte[] getEncryptedContentEncryptionKey()
           
 byte[] getEncryptedContentWithAuthTag()
           
 byte[] getEncryptionAuthenticationTag()
           
 JweHeaders getJweHeaders()
           
 
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)

JweCompactConsumer

public JweCompactConsumer(String jweContent,
                          JwtHeadersReader reader)
Method Detail

enforceJweCryptoProperties

public void enforceJweCryptoProperties(JweCryptoProperties props)

getDecodedJsonHeaders

public String getDecodedJsonHeaders()

getJweHeaders

public JweHeaders getJweHeaders()

getEncryptedContentEncryptionKey

public byte[] getEncryptedContentEncryptionKey()

getContentDecryptionCipherInitVector

public byte[] getContentDecryptionCipherInitVector()

getContentEncryptionCipherAAD

public byte[] getContentEncryptionCipherAAD()

getEncryptionAuthenticationTag

public byte[] getEncryptionAuthenticationTag()

getEncryptedContentWithAuthTag

public byte[] getEncryptedContentWithAuthTag()

getDecryptedContent

public byte[] getDecryptedContent(JweDecryption decryption)

getDecryptedContentText

public String getDecryptedContentText(JweDecryption decryption)


Apache CXF