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 KeyDecryptionProvider
public KeyAlgorithm getAlgorithm()
getAlgorithm
in interface KeyDecryptionProvider
protected void validateKeyEncryptionKey(JweDecryptionInput jweDecryptionInput)
Apache CXF