public class DirectKeyDecryptionAlgorithm extends Object implements KeyDecryptionProvider
| Constructor and Description |
|---|
DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey) |
DirectKeyDecryptionAlgorithm(Key contentDecryptionKey) |
DirectKeyDecryptionAlgorithm(String encodedContentDecryptionKey) |
| Modifier and Type | Method and Description |
|---|---|
KeyAlgorithm |
getAlgorithm() |
byte[] |
getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput) |
protected void |
validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput) |
public DirectKeyDecryptionAlgorithm(Key contentDecryptionKey)
public DirectKeyDecryptionAlgorithm(String encodedContentDecryptionKey)
public DirectKeyDecryptionAlgorithm(byte[] contentDecryptionKey)
public byte[] getDecryptedContentEncryptionKey(JweDecryptionInput jweDecryptionInput)
getDecryptedContentEncryptionKey in interface KeyDecryptionProviderpublic KeyAlgorithm getAlgorithm()
getAlgorithm in interface KeyDecryptionProviderprotected void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
Apache CXF