public class JweCompactConsumer extends Object
Constructor and Description |
---|
JweCompactConsumer(String jweContent) |
Modifier and Type | Method and Description |
---|---|
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() |
protected static final Logger LOG
public JweCompactConsumer(String jweContent)
public String getDecodedJsonHeaders()
public JweHeaders getJweHeaders()
public byte[] getEncryptedContentEncryptionKey()
public byte[] getContentDecryptionCipherInitVector()
public byte[] getContentEncryptionCipherAAD()
public byte[] getEncryptionAuthenticationTag()
public byte[] getEncryptedContent()
public byte[] getEncryptedContentWithAuthTag()
public JweDecryptionInput getJweDecryptionInput()
public static byte[] getCipherWithAuthTag(byte[] cipher, byte[] authTag)
public byte[] getDecryptedContent(JweDecryptionProvider decryption)
public String getDecryptedContentText(JweDecryptionProvider decryption)
public boolean validateCriticalHeaders()
Apache CXF