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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.DirectKeyDecryptionAlgorithm
All Implemented Interfaces:
KeyDecryptionAlgorithm

public class DirectKeyDecryptionAlgorithm
extends Object
implements KeyDecryptionAlgorithm


Constructor Summary
DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
           
DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
           
 
Method Summary
 byte[] getDecryptedContentEncryptionKey(JweCompactConsumer consumer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectKeyDecryptionAlgorithm

public DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)

DirectKeyDecryptionAlgorithm

public DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
Method Detail

getDecryptedContentEncryptionKey

public byte[] getDecryptedContentEncryptionKey(JweCompactConsumer consumer)
Specified by:
getDecryptedContentEncryptionKey in interface KeyDecryptionAlgorithm


Apache CXF