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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.AbstractJweEncryption
      extended by org.apache.cxf.rs.security.jose.jwe.DirectKeyJweEncryption
All Implemented Interfaces:
JweEncryptionProvider

public class DirectKeyJweEncryption
extends AbstractJweEncryption


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractJweEncryption
AbstractJweEncryption.JweEncryptionInternal
 
Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractJweEncryption
DEFAULT_AUTH_TAG_LENGTH
 
Constructor Summary
DirectKeyJweEncryption(ContentEncryptionAlgorithm ceAlgo)
           
DirectKeyJweEncryption(JweHeaders headers, ContentEncryptionAlgorithm ceAlgo)
           
 
Method Summary
protected  byte[] getProvidedContentEncryptionKey()
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractJweEncryption
createCekSecretKey, createJweEncryptionState, encrypt, getAAD, getActualCek, getAlgorithmParameterSpec, getAuthenticationTagProducer, getCekSize, getContentEncryptionAlgoJava, getContentEncryptionAlgoJwt, getContentEncryptionKey, getEncryptedContentEncryptionKey, getJweCompactProducer, getJweHeaders, getJwtHeadersWriter, getKeyEncryptionAlgo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectKeyJweEncryption

public DirectKeyJweEncryption(ContentEncryptionAlgorithm ceAlgo)

DirectKeyJweEncryption

public DirectKeyJweEncryption(JweHeaders headers,
                              ContentEncryptionAlgorithm ceAlgo)
Method Detail

getProvidedContentEncryptionKey

protected byte[] getProvidedContentEncryptionKey()
Overrides:
getProvidedContentEncryptionKey in class AbstractJweEncryption


Apache CXF