public class JweCompactBuilder extends Object
Constructor and Description |
---|
JweCompactBuilder(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag) |
JweCompactBuilder(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits) |
JweCompactBuilder(String headersJson,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag) |
Modifier and Type | Method and Description |
---|---|
String |
getJweContent() |
static String |
startJweContent(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static void |
startJweContent(OutputStream os,
JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static StringBuilder |
startJweContent(StringBuilder sb,
JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
static StringBuilder |
startJweContent(StringBuilder sb,
String headersJson,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector) |
public JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)
public JweCompactBuilder(String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)
public JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentWithTag, int authTagLengthBits)
public static String startJweContent(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
public static StringBuilder startJweContent(StringBuilder sb, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
public static StringBuilder startJweContent(StringBuilder sb, String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
public static void startJweContent(OutputStream os, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector) throws IOException
IOException
public String getJweContent()
Apache CXF