Class DirectKeyDecryptionAlgorithm
java.lang.Object
org.apache.cxf.rs.security.jose.jwe.DirectKeyDecryptionAlgorithm
- All Implemented Interfaces:
KeyDecryptionProvider
- Direct Known Subclasses:
EcdhDirectKeyDecryptionAlgorithm
-
Constructor Summary
ConstructorsConstructorDescriptionDirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey) DirectKeyDecryptionAlgorithm(String encodedContentDecryptionKey) DirectKeyDecryptionAlgorithm(Key contentDecryptionKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput) protected voidvalidateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
-
Constructor Details
-
DirectKeyDecryptionAlgorithm
-
DirectKeyDecryptionAlgorithm
-
DirectKeyDecryptionAlgorithm
public DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
-
-
Method Details
-
getDecryptedContentEncryptionKey
- Specified by:
getDecryptedContentEncryptionKeyin interfaceKeyDecryptionProvider
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKeyDecryptionProvider
-
validateKeyEncryptionKey
-