Class JweCompactConsumer
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.JweCompactConsumer
-
public class JweCompactConsumer extends Object
-
-
Constructor Summary
Constructors Constructor Description JweCompactConsumer(String jweContent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte[]getCipherWithAuthTag(byte[] cipher, byte[] authTag)byte[]getContentDecryptionCipherInitVector()byte[]getContentEncryptionCipherAAD()StringgetDecodedJsonHeaders()byte[]getDecryptedContent(JweDecryptionProvider decryption)StringgetDecryptedContentText(JweDecryptionProvider decryption)byte[]getEncryptedContent()byte[]getEncryptedContentEncryptionKey()byte[]getEncryptedContentWithAuthTag()byte[]getEncryptionAuthenticationTag()JweDecryptionInputgetJweDecryptionInput()JweHeadersgetJweHeaders()booleanvalidateCriticalHeaders()
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
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()
-
-