Interface TlsCredentialedDecryptor
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
Base interface for a class that decrypts TLS secrets.
public interface TlsCredentialedDecryptor : TlsCredentials
- Inherited Members
Methods
Decrypt(TlsCryptoParameters, byte[])
Decrypt the passed in cipher text using the parameters available.
TlsSecret Decrypt(TlsCryptoParameters cryptoParams, byte[] ciphertext)
Parameters
cryptoParamsTlsCryptoParametersthe parameters to use for the decryption.
ciphertextbyte[]the cipher text containing the secret.
Returns
- TlsSecret
a TLS secret.
Exceptions
- IOException
on a parsing or decryption error.