public interface TlsCredentialedDecryptor extends TlsCredentials
Modifier and Type | Method and Description |
---|---|
TlsSecret |
decrypt(TlsCryptoParameters cryptoParams,
byte[] ciphertext)
Decrypt the passed in cipher text using the parameters available.
|
getCertificate
TlsSecret decrypt(TlsCryptoParameters cryptoParams, byte[] ciphertext) throws java.io.IOException
cryptoParams
- the parameters to use for the decryption.ciphertext
- the cipher text containing the secret.java.io.IOException
- on a parsing or decryption error.