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