public class JweJsonConsumer extends Object
Constructor and Description |
---|
JweJsonConsumer(String payload) |
Modifier and Type | Method and Description |
---|---|
JweDecryptionOutput |
decryptWith(JweDecryptionProvider jwe) |
JweDecryptionOutput |
decryptWith(JweDecryptionProvider jwe,
JweJsonEncryptionEntry entry) |
JweDecryptionOutput |
decryptWith(JweDecryptionProvider jwe,
Map<String,Object> recipientProps) |
byte[] |
getAad() |
String |
getAadText() |
protected byte[] |
getDecodedBytes(Map<String,Object> map,
String name) |
protected JweJsonEncryptionEntry |
getEncryptionObject(Map<String,Object> encryptionEntry) |
JweJsonEncryptionEntry |
getJweDecryptionEntry(JweDecryptionProvider jwe) |
JweJsonEncryptionEntry |
getJweDecryptionEntry(JweDecryptionProvider jwe,
Map<String,Object> recipientProps) |
JweHeaders |
getProtectedHeader() |
List<JweJsonEncryptionEntry> |
getRecipients() |
Map<JweJsonEncryptionEntry,JweHeaders> |
getRecipientsMap() |
JweHeaders |
getSharedUnprotectedHeader() |
protected static final Logger LOG
public JweJsonConsumer(String payload)
public JweDecryptionOutput decryptWith(JweDecryptionProvider jwe)
public JweDecryptionOutput decryptWith(JweDecryptionProvider jwe, Map<String,Object> recipientProps)
public JweDecryptionOutput decryptWith(JweDecryptionProvider jwe, JweJsonEncryptionEntry entry)
public JweJsonEncryptionEntry getJweDecryptionEntry(JweDecryptionProvider jwe)
public JweJsonEncryptionEntry getJweDecryptionEntry(JweDecryptionProvider jwe, Map<String,Object> recipientProps)
protected final JweJsonEncryptionEntry getEncryptionObject(Map<String,Object> encryptionEntry)
public JweHeaders getProtectedHeader()
public JweHeaders getSharedUnprotectedHeader()
public byte[] getAad()
public String getAadText()
public List<JweJsonEncryptionEntry> getRecipients()
public Map<JweJsonEncryptionEntry,JweHeaders> getRecipientsMap()
Apache CXF