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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jwe.DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm
All Implemented Interfaces:
KeyDecryptionAlgorithm
Direct Known Subclasses:
EcdhDirectKeyJweDecryption.EcdhDirectKeyDecryptionAlgorithm
Enclosing class:
DirectKeyJweDecryption

protected static class DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm
extends Object
implements KeyDecryptionAlgorithm


Constructor Summary
DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
           
DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
           
 
Method Summary
 String 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

DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm

public DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)

DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm

public DirectKeyJweDecryption.DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
Method Detail

getDecryptedContentEncryptionKey

public byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
Specified by:
getDecryptedContentEncryptionKey in interface KeyDecryptionAlgorithm

getAlgorithm

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

validateKeyEncryptionKey

protected void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)


Apache CXF