public class JweJsonProducer extends Object
Constructor and Description |
---|
JweJsonProducer(JweHeaders protectedHeader,
byte[] content) |
JweJsonProducer(JweHeaders protectedHeader,
byte[] content,
boolean canBeFlat) |
JweJsonProducer(JweHeaders protectedHeader,
byte[] content,
byte[] aad,
boolean canBeFlat) |
JweJsonProducer(JweHeaders protectedHeader,
JweHeaders unprotectedHeader,
byte[] content,
byte[] aad,
boolean canBeFlat) |
Modifier and Type | Method and Description |
---|---|
protected JweEncryptionInput |
createEncryptionInput(JweHeaders jsonHeaders) |
String |
encryptWith(JweEncryptionProvider encryptor) |
String |
encryptWith(JweEncryptionProvider encryptor,
JweHeaders recipientUnprotected) |
String |
encryptWith(List<JweEncryptionProvider> encryptors) |
String |
encryptWith(List<JweEncryptionProvider> encryptors,
List<JweHeaders> recipientUnprotected) |
protected static final Logger LOG
public JweJsonProducer(JweHeaders protectedHeader, byte[] content)
public JweJsonProducer(JweHeaders protectedHeader, byte[] content, boolean canBeFlat)
public JweJsonProducer(JweHeaders protectedHeader, byte[] content, byte[] aad, boolean canBeFlat)
public JweJsonProducer(JweHeaders protectedHeader, JweHeaders unprotectedHeader, byte[] content, byte[] aad, boolean canBeFlat)
public String encryptWith(JweEncryptionProvider encryptor)
public String encryptWith(JweEncryptionProvider encryptor, JweHeaders recipientUnprotected)
public String encryptWith(List<JweEncryptionProvider> encryptors)
public String encryptWith(List<JweEncryptionProvider> encryptors, List<JweHeaders> recipientUnprotected)
protected JweEncryptionInput createEncryptionInput(JweHeaders jsonHeaders)
Apache CXF