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

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

protected static class DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm
extends Object
implements KeyEncryptionAlgorithm


Constructor Summary
protected DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm()
           
 
Method Summary
protected  void checkKeyEncryptionAlgorithm(JweHeaders headers)
           
 String 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

DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm

protected DirectKeyJweEncryption.DirectKeyEncryptionAlgorithm()
Method Detail

getEncryptedContentEncryptionKey

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

checkKeyEncryptionAlgorithm

protected void checkKeyEncryptionAlgorithm(JweHeaders headers)

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface KeyEncryptionAlgorithm


Apache CXF