Interface TlsCredentialedAgreement
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
Support interface for generating a secret based on the credentials sent by a TLS peer.
public interface TlsCredentialedAgreement : TlsCredentials
- Inherited Members
Methods
GenerateAgreement(TlsCertificate)
Calculate an agreed secret based on our credentials and the public key credentials of our peer.
TlsSecret GenerateAgreement(TlsCertificate peerCertificate)
Parameters
peerCertificateTlsCertificatepublic key certificate of our TLS peer.
Returns
- TlsSecret
the agreed secret.
Exceptions
- IOException
in case of an exception on generation of the secret.