org.apache.cxf.rs.security.jose.jwe
Class EcdhAesWrapKeyEncryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.EcdhAesWrapKeyEncryptionAlgorithm
- All Implemented Interfaces:
- KeyEncryptionProvider
public class EcdhAesWrapKeyEncryptionAlgorithm
- extends Object
- implements KeyEncryptionProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey,
String curve,
KeyAlgorithm keyAlgo)
EcdhAesWrapKeyEncryptionAlgorithm
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey,
String curve,
String apuString,
String apvString,
KeyAlgorithm keyAlgo)
getEncryptedContentEncryptionKey
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek)
- Specified by:
getEncryptedContentEncryptionKey in interface KeyEncryptionProvider
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithm in interface KeyEncryptionProvider
Apache CXF