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