org.apache.cxf.rs.security.jose.jwe
Class JweCompactProducer

java.lang.Object
  extended by 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(String headersJson, byte[] encryptedContentEncryptionKey, byte[] cipherInitVector, byte[] encryptedContentNoTag, byte[] authenticationTag)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JweCompactProducer

public JweCompactProducer(JweHeaders headers,
                          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)
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()


Apache CXF