org.apache.cxf.rs.security.jose.jwe
Class JweCompactProducer
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.JweCompactProducer
public class JweCompactProducer
- extends Object
|
Constructor Summary |
JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
|
JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits)
|
JweCompactProducer(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
|
JweCompactProducer(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits)
|
JweCompactProducer(String headersJson,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
|
|
Method Summary |
String |
getJweContent()
|
static String |
startJweContent(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
|
static void |
startJweContent(OutputStream os,
JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
|
static StringBuilder |
startJweContent(StringBuilder sb,
JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
|
static StringBuilder |
startJweContent(StringBuilder sb,
String headersJson,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JweCompactProducer
public JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
JweCompactProducer
public JweCompactProducer(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
JweCompactProducer
public JweCompactProducer(String headersJson,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentNoTag,
byte[] authenticationTag)
JweCompactProducer
public JweCompactProducer(JweHeaders headers,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits)
JweCompactProducer
public JweCompactProducer(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector,
byte[] encryptedContentWithTag,
int authTagLengthBits)
startJweContent
public static String startJweContent(JweHeaders headers,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
startJweContent
public static StringBuilder startJweContent(StringBuilder sb,
JweHeaders headers,
JoseHeadersWriter writer,
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,
JoseHeadersWriter writer,
byte[] encryptedContentEncryptionKey,
byte[] cipherInitVector)
throws IOException
- Throws:
IOException
getJweContent
public String getJweContent()
Apache CXF