Table of Contents

Class DefaultTlsAgreementCredentials

Namespace
Enterprises.Org.BouncyCastle.Crypto.Tls
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class DefaultTlsAgreementCredentials : AbstractTlsAgreementCredentials, TlsAgreementCredentials, TlsCredentials
Inheritance
DefaultTlsAgreementCredentials
Implements
Inherited Members

Constructors

DefaultTlsAgreementCredentials(Certificate, AsymmetricKeyParameter)

public DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey)

Parameters

certificate Certificate
privateKey AsymmetricKeyParameter

Fields

mBasicAgreement

protected readonly IBasicAgreement mBasicAgreement

Field Value

IBasicAgreement

mCertificate

protected readonly Certificate mCertificate

Field Value

Certificate

mPrivateKey

protected readonly AsymmetricKeyParameter mPrivateKey

Field Value

AsymmetricKeyParameter

mTruncateAgreement

protected readonly bool mTruncateAgreement

Field Value

bool

Properties

Certificate

public override Certificate Certificate { get; }

Property Value

Certificate

Methods

GenerateAgreement(AsymmetricKeyParameter)

public override byte[] GenerateAgreement(AsymmetricKeyParameter peerPublicKey)

Parameters

peerPublicKey AsymmetricKeyParameter

Returns

byte[]