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
Direct Known Subclasses:
EcdhDirectKeyJweDecryption.EcdhDirectKeyDecryptionAlgorithm

public class DirectKeyDecryptionAlgorithm
extends Object
implements KeyDecryptionAlgorithm


Constructor Summary
DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
           
DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
           
 
Method Summary
 KeyAlgorithm getAlgorithm()
           
 byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
           
protected  void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
           
 
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(JweDecryptionInput jweDecryptionInput)
Specified by:
getDecryptedContentEncryptionKey in interface KeyDecryptionAlgorithm

getAlgorithm

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

validateKeyEncryptionKey

protected void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)


Apache CXF