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

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

public class EcdhAesWrapKeyEncryptionAlgorithm
extends Object
implements KeyEncryptionAlgorithm


Constructor Summary
EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, String apuString, String apvString, String keyAlgo)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcdhAesWrapKeyEncryptionAlgorithm

public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey,
                                         String curve,
                                         String apuString,
                                         String apvString,
                                         String keyAlgo)
Method Detail

getEncryptedContentEncryptionKey

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

getAlgorithm

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


Apache CXF