Class JweCompactBuilder


  • public class JweCompactBuilder
    extends Object
    • 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,
                                                    String headersJson,
                                                    byte[] encryptedContentEncryptionKey,
                                                    byte[] cipherInitVector)
      • getJweContent

        public String getJweContent()