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

All Superinterfaces:
JweKeyProperties
All Known Implementing Classes:
AbstractJweEncryption, AesCbcHmacJweEncryption, DirectKeyJweEncryption, EcdhDirectKeyJweEncryption, WrappedKeyJweEncryption

public interface JweEncryptionProvider
extends JweKeyProperties


Method Summary
 JweEncryptionState createJweEncryptionState(JweEncryptionInput jweInput)
          Prepare JWE state for completing either JWE compact or JSON encryption
 String encrypt(byte[] jweContent, JweHeaders jweHeaders)
          JWE compact 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


createJweEncryptionState

JweEncryptionState createJweEncryptionState(JweEncryptionInput jweInput)
Prepare JWE state for completing either JWE compact or JSON encryption



Apache CXF