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

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

public class JweJsonConsumer
extends Object


Field Summary
protected static Logger LOG
           
 
Constructor Summary
JweJsonConsumer(String payload)
           
 
Method Summary
 JweDecryptionOutput decryptWith(JweDecryptionProvider jwe)
           
 JweDecryptionOutput decryptWith(JweDecryptionProvider jwe, JweJsonEncryptionEntry entry)
           
 byte[] getAad()
           
 String getAadText()
           
protected  byte[] getDecodedBytes(Map<String,Object> map, String name)
           
protected  JweJsonEncryptionEntry getEncryptionObject(Map<String,Object> encryptionEntry)
           
 JweHeaders getProtectedHeader()
           
 List<JweJsonEncryptionEntry> getRecipients()
           
 Map<JweJsonEncryptionEntry,JweHeaders> getRecipientsMap()
           
 JweHeaders getSharedUnprotectedHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Constructor Detail

JweJsonConsumer

public JweJsonConsumer(String payload)
Method Detail

decryptWith

public JweDecryptionOutput decryptWith(JweDecryptionProvider jwe)

decryptWith

public JweDecryptionOutput decryptWith(JweDecryptionProvider jwe,
                                       JweJsonEncryptionEntry entry)

getEncryptionObject

protected JweJsonEncryptionEntry getEncryptionObject(Map<String,Object> encryptionEntry)

getDecodedBytes

protected byte[] getDecodedBytes(Map<String,Object> map,
                                 String name)

getProtectedHeader

public JweHeaders getProtectedHeader()

getSharedUnprotectedHeader

public JweHeaders getSharedUnprotectedHeader()

getAad

public byte[] getAad()

getAadText

public String getAadText()

getRecipients

public List<JweJsonEncryptionEntry> getRecipients()

getRecipientsMap

public Map<JweJsonEncryptionEntry,JweHeaders> getRecipientsMap()


Apache CXF