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

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

public class EcdhAesWrapKeyDecryptionAlgorithm
extends Object
implements KeyDecryptionAlgorithm


Constructor Summary
EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key)
           
EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key, KeyAlgorithm algo)
           
 
Method Summary
 KeyAlgorithm getAlgorithm()
           
 byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcdhAesWrapKeyDecryptionAlgorithm

public EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key)

EcdhAesWrapKeyDecryptionAlgorithm

public EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key,
                                         KeyAlgorithm algo)
Method Detail

getDecryptedContentEncryptionKey

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

getAlgorithm

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


Apache CXF