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