Class EcdhDirectKeyDecryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.DirectKeyDecryptionAlgorithm
-
- org.apache.cxf.rs.security.jose.jwe.EcdhDirectKeyDecryptionAlgorithm
-
- All Implemented Interfaces:
KeyDecryptionProvider
public class EcdhDirectKeyDecryptionAlgorithm extends DirectKeyDecryptionAlgorithm
-
-
Constructor Summary
Constructors Constructor Description EcdhDirectKeyDecryptionAlgorithm(ECPrivateKey privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)protected byte[]getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers, ECPrivateKey key)-
Methods inherited from class org.apache.cxf.rs.security.jose.jwe.DirectKeyDecryptionAlgorithm
getAlgorithm, validateKeyEncryptionKey
-
-
-
-
Constructor Detail
-
EcdhDirectKeyDecryptionAlgorithm
public EcdhDirectKeyDecryptionAlgorithm(ECPrivateKey privateKey)
-
-
Method Detail
-
getDecryptedContentEncryptionKey
public byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
- Specified by:
getDecryptedContentEncryptionKeyin interfaceKeyDecryptionProvider- Overrides:
getDecryptedContentEncryptionKeyin classDirectKeyDecryptionAlgorithm
-
getDecryptedContentEncryptionKeyFromHeaders
protected byte[] getDecryptedContentEncryptionKeyFromHeaders(JweHeaders headers, ECPrivateKey key)
-
-