org.apache.cxf.rs.security.jose.jwe
Interface JweEncryptionProvider

All Superinterfaces:
JweKeyProperties
All Known Implementing Classes:
AbstractJweEncryption, AesCbcHmacJweEncryption, EcdhDirectKeyJweEncryption, JweEncryption

public interface JweEncryptionProvider
extends JweKeyProperties


Method Summary
 String encrypt(byte[] jweContent, JweHeaders jweHeaders)
          JWE compact encryption
 JweEncryptionOutput getEncryptionOutput(JweEncryptionInput jweInput)
          Prepare JWE state for completing either JWE compact or JSON encryption
 
Methods inherited from interface org.apache.cxf.rs.security.jose.jwe.JweKeyProperties
getContentAlgorithm, getKeyAlgorithm
 

Method Detail

encrypt

String encrypt(byte[] jweContent,
               JweHeaders jweHeaders)
JWE compact encryption


getEncryptionOutput

JweEncryptionOutput getEncryptionOutput(JweEncryptionInput jweInput)
Prepare JWE state for completing either JWE compact or JSON encryption



Apache CXF