Class JweCompactBuilder
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.JweCompactBuilder
-
public class JweCompactBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description JweCompactBuilder(String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentWithTag, int authTagLengthBits)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJweContent()static voidstartJweContent(OutputStream os, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)static StringBuilderstartJweContent(StringBuilder sb, String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)static StringBuilderstartJweContent(StringBuilder sb, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)static StringstartJweContent(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
-
-
-
Constructor Detail
-
JweCompactBuilder
public JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)
-
JweCompactBuilder
public JweCompactBuilder(String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)
-
JweCompactBuilder
public JweCompactBuilder(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentWithTag, int authTagLengthBits)
-
-
Method Detail
-
startJweContent
public static String startJweContent(JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
-
startJweContent
public static StringBuilder startJweContent(StringBuilder sb, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
-
startJweContent
public static StringBuilder startJweContent(StringBuilder sb, String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector)
-
startJweContent
public static void startJweContent(OutputStream os, JweHeaders headers, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector) throws IOException
- Throws:
IOException
-
getJweContent
public String getJweContent()
-
-