public class EcdhAesWrapKeyEncryptionAlgorithm extends Object implements KeyEncryptionProvider
Constructor and Description |
---|
EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey,
String curve,
KeyAlgorithm keyAlgo) |
EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey,
String curve,
String apuString,
String apvString,
KeyAlgorithm keyAlgo) |
Modifier and Type | Method and Description |
---|---|
KeyAlgorithm |
getAlgorithm() |
byte[] |
getEncryptedContentEncryptionKey(JweHeaders headers,
byte[] cek) |
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, KeyAlgorithm keyAlgo)
public EcdhAesWrapKeyEncryptionAlgorithm(ECPublicKey peerPublicKey, String curve, String apuString, String apvString, KeyAlgorithm keyAlgo)
public byte[] getEncryptedContentEncryptionKey(JweHeaders headers, byte[] cek)
getEncryptedContentEncryptionKey
in interface KeyEncryptionProvider
public KeyAlgorithm getAlgorithm()
getAlgorithm
in interface KeyEncryptionProvider
Apache CXF