Class JweCompactBuilder

java.lang.Object
org.apache.cxf.rs.security.jose.jwe.JweCompactBuilder

public class JweCompactBuilder extends Object
  • Constructor Details

    • 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 Details

    • 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()