Class TlsClientProtocol
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class TlsClientProtocol : TlsProtocol
- Inheritance
-
TlsClientProtocol
- Derived
-
- Inherited Members
-
Constructors
TlsClientProtocol(SecureRandom)
public TlsClientProtocol(SecureRandom secureRandom)
Parameters
secureRandom
SecureRandom
TlsClientProtocol(Stream, SecureRandom)
public TlsClientProtocol(Stream stream, SecureRandom secureRandom)
Parameters
stream
Stream
secureRandom
SecureRandom
TlsClientProtocol(Stream, Stream, SecureRandom)
public TlsClientProtocol(Stream input, Stream output, SecureRandom secureRandom)
Parameters
input
Stream
output
Stream
secureRandom
SecureRandom
Fields
mAuthentication
protected TlsAuthentication mAuthentication
Field Value
- TlsAuthentication
mCertificateRequest
protected CertificateRequest mCertificateRequest
Field Value
- CertificateRequest
mCertificateStatus
protected CertificateStatus mCertificateStatus
Field Value
- CertificateStatus
mKeyExchange
protected TlsKeyExchange mKeyExchange
Field Value
- TlsKeyExchange
mSelectedSessionID
protected byte[] mSelectedSessionID
Field Value
- byte[]
mTlsClient
protected TlsClient mTlsClient
Field Value
- TlsClient
Properties
Context
protected override TlsContext Context { get; }
Property Value
- TlsContext
Peer
protected override TlsPeer Peer { get; }
Property Value
- TlsPeer
Methods
CleanupHandshake()
protected override void CleanupHandshake()
Connect(TlsClient)
public virtual void Connect(TlsClient tlsClient)
Parameters
tlsClient
TlsClient
HandleHandshakeMessage(byte, MemoryStream)
protected override void HandleHandshakeMessage(byte type, MemoryStream buf)
Parameters
type
byte
buf
MemoryStream
HandleSupplementalData(IList)
protected virtual void HandleSupplementalData(IList serverSupplementalData)
Parameters
serverSupplementalData
IList
ReceiveNewSessionTicketMessage(MemoryStream)
protected virtual void ReceiveNewSessionTicketMessage(MemoryStream buf)
Parameters
buf
MemoryStream
ReceiveServerHelloMessage(MemoryStream)
protected virtual void ReceiveServerHelloMessage(MemoryStream buf)
Parameters
buf
MemoryStream
SendCertificateVerifyMessage(DigitallySigned)
protected virtual void SendCertificateVerifyMessage(DigitallySigned certificateVerify)
Parameters
certificateVerify
DigitallySigned
SendClientHelloMessage()
protected virtual void SendClientHelloMessage()
SendClientKeyExchangeMessage()
protected virtual void SendClientKeyExchangeMessage()