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, JweKeyProperties
Direct Known Subclasses:
EcdhDirectKeyJweEncryption

public class DirectKeyJweEncryption
extends AbstractJweEncryption


Nested Class Summary
protected static class DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm
           
 
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)
           
protected DirectKeyJweEncryption(ContentEncryptionAlgorithm ceAlgo, DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm direct)
           
 
Method Summary
protected  byte[] getProvidedContentEncryptionKey(JweHeaders headers)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.AbstractJweEncryption
createCekSecretKey, createJweEncryptionState, encrypt, getAAD, getActualCek, getAlgorithmParameterSpec, getAuthenticationTagProducer, getCekSize, getContentAlgorithm, getContentEncryptionAlgoJava, getContentEncryptionAlgoJwt, getContentEncryptionAlgorithm, getContentEncryptionKey, getEncryptedContentEncryptionKey, getJweCompactProducer, getJwtHeadersWriter, getKeyAlgorithm, 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

protected DirectKeyJweEncryption(ContentEncryptionAlgorithm ceAlgo,
                                 DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm direct)
Method Detail

getProvidedContentEncryptionKey

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


Apache CXF