public class EcdhAesWrapKeyDecryptionAlgorithm extends Object implements KeyDecryptionProvider
Constructor and Description |
---|
EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key) |
EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key,
KeyAlgorithm algo) |
Modifier and Type | Method and Description |
---|---|
KeyAlgorithm |
getAlgorithm() |
byte[] |
getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput) |
protected byte[] |
getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers,
ECPrivateKey privateKey) |
public EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key)
public EcdhAesWrapKeyDecryptionAlgorithm(ECPrivateKey key, KeyAlgorithm algo)
public byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
getDecryptedContentEncryptionKey
in interface KeyDecryptionProvider
public KeyAlgorithm getAlgorithm()
getAlgorithm
in interface KeyDecryptionProvider
protected byte[] getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers, ECPrivateKey privateKey)
Apache CXF