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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.DirectKeyEncryptionAlgorithm
All Implemented Interfaces:
KeyEncryptionProvider
Direct Known Subclasses:
EcdhDirectKeyJweEncryption.EcdhDirectKeyEncryptionAlgorithm

public class DirectKeyEncryptionAlgorithm
extends Object
implements KeyEncryptionProvider


Constructor Summary
DirectKeyEncryptionAlgorithm()
           
 
Method Summary
protected  void checkKeyEncryptionAlgorithm(JweHeaders headers)
           
 KeyAlgorithm getAlgorithm()
           
 byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] theCek)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectKeyEncryptionAlgorithm

public DirectKeyEncryptionAlgorithm()
Method Detail

getEncryptedContentEncryptionKey

public byte[] getEncryptedContentEncryptionKey(JweHeaders headers,
                                               byte[] theCek)
Specified by:
getEncryptedContentEncryptionKey in interface KeyEncryptionProvider

checkKeyEncryptionAlgorithm

protected void checkKeyEncryptionAlgorithm(JweHeaders headers)

getAlgorithm

public KeyAlgorithm getAlgorithm()
Specified by:
getAlgorithm in interface KeyEncryptionProvider


Apache CXF