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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.JweJsonProducer

public class JweJsonProducer
extends Object


Field Summary
protected static Logger LOG
           
 
Constructor Summary
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)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Constructor Detail

JweJsonProducer

public JweJsonProducer(JweHeaders protectedHeader,
                       byte[] content)

JweJsonProducer

public JweJsonProducer(JweHeaders protectedHeader,
                       byte[] content,
                       boolean canBeFlat)

JweJsonProducer

public JweJsonProducer(JweHeaders protectedHeader,
                       byte[] content,
                       byte[] aad,
                       boolean canBeFlat)

JweJsonProducer

public JweJsonProducer(JweHeaders protectedHeader,
                       JweHeaders unprotectedHeader,
                       byte[] content,
                       byte[] aad,
                       boolean canBeFlat)
Method Detail

encryptWith

public String encryptWith(JweEncryptionProvider encryptor)

encryptWith

public String encryptWith(JweEncryptionProvider encryptor,
                          JweHeaders recipientUnprotected)

encryptWith

public String encryptWith(List<JweEncryptionProvider> encryptors)

encryptWith

public String encryptWith(List<JweEncryptionProvider> encryptors,
                          List<JweHeaders> recipientUnprotected)

createEncryptionInput

protected JweEncryptionInput createEncryptionInput(JweHeaders jsonHeaders)


Apache CXF