Table of Contents

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

cryptoParams TlsCryptoParameters

the parameters to use for the decryption.

ciphertext byte[]

the cipher text containing the secret.

Returns

TlsSecret

a TLS secret.

Exceptions

IOException

on a parsing or decryption error.