Class DirectKeyDecryptionAlgorithm
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.jwe.DirectKeyDecryptionAlgorithm
-
- All Implemented Interfaces:
KeyDecryptionProvider
- Direct Known Subclasses:
EcdhDirectKeyDecryptionAlgorithm
public class DirectKeyDecryptionAlgorithm extends Object implements KeyDecryptionProvider
-
-
Constructor Summary
Constructors Constructor Description DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)DirectKeyDecryptionAlgorithm(String encodedContentDecryptionKey)DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAlgorithmgetAlgorithm()byte[]getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)protected voidvalidateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
-
-
-
Constructor Detail
-
DirectKeyDecryptionAlgorithm
public DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
-
DirectKeyDecryptionAlgorithm
public DirectKeyDecryptionAlgorithm(String encodedContentDecryptionKey)
-
DirectKeyDecryptionAlgorithm
public DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
-
-
Method Detail
-
getDecryptedContentEncryptionKey
public byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
- Specified by:
getDecryptedContentEncryptionKeyin interfaceKeyDecryptionProvider
-
getAlgorithm
public KeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceKeyDecryptionProvider
-
validateKeyEncryptionKey
protected void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
-
-