C# Класс Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler

An implementation of all high level protocols in TLS 1.0.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ArrayContains bool
ArrayContains bool
AssertEmpty void
Connect void
CreateRenegotiationInfo byte[]
CreateSecureRandom SecureRandom
FailWithError void
Flush void
ProcessAlert void
ProcessApplicationData void
ProcessChangeCipherSpec void
ProcessData void
ProcessHandshake void
ProcessHandshakeMessage void
ReadApplicationData int
SafeReadData void
SafeWriteMessage void
SendAlert void
SendCertificateVerify void
SendClientCertificate void
SendClientKeyExchange void
WriteData void
WriteExtension void

Открытые методы

Метод Описание
Close ( ) : void

Closes this connection

Connect ( TlsClient tlsClient ) : void
TlsProtocolHandler ( Stream s ) : System
TlsProtocolHandler ( Stream s, SecureRandom sr ) : System
TlsProtocolHandler ( Stream inStr, Stream outStr ) : System Both streams can be the same object
TlsProtocolHandler ( Stream inStr, Stream outStr, SecureRandom sr ) : System Both streams can be the same object

Приватные методы

Метод Описание
ArrayContains ( CipherSuite a, CipherSuite n ) : bool
ArrayContains ( CompressionMethod a, CompressionMethod n ) : bool
AssertEmpty ( MemoryStream inStr ) : void
Connect ( ICertificateVerifyer verifyer ) : void
CreateRenegotiationInfo ( byte renegotiated_connection ) : byte[]
CreateSecureRandom ( ) : SecureRandom
FailWithError ( AlertLevel alertLevel, AlertDescription alertDescription ) : void
Flush ( ) : void
ProcessAlert ( ) : void
ProcessApplicationData ( ) : void
ProcessChangeCipherSpec ( ) : void
ProcessData ( ContentType protocol, byte buf, int offset, int len ) : void
ProcessHandshake ( ) : void
ProcessHandshakeMessage ( HandshakeType type, byte buf ) : void
ReadApplicationData ( byte buf, int offset, int len ) : int
SafeReadData ( ) : void
SafeWriteMessage ( ContentType type, byte buf, int offset, int len ) : void
SendAlert ( AlertLevel alertLevel, AlertDescription alertDescription ) : void
SendCertificateVerify ( byte data ) : void
SendClientCertificate ( Certificate clientCert ) : void
SendClientKeyExchange ( ) : void
WriteData ( byte buf, int offset, int len ) : void
WriteExtension ( Stream output, ExtensionType extType, byte extValue ) : void

Описание методов

Close() публичный метод

Closes this connection
If something goes wrong during closing.
public Close ( ) : void
Результат void

Connect() публичный метод

public Connect ( TlsClient tlsClient ) : void
tlsClient TlsClient
Результат void

TlsProtocolHandler() публичный метод

public TlsProtocolHandler ( Stream s ) : System
s Stream
Результат System

TlsProtocolHandler() публичный метод

public TlsProtocolHandler ( Stream s, SecureRandom sr ) : System
s Stream
sr SecureRandom
Результат System

TlsProtocolHandler() публичный метод

Both streams can be the same object
public TlsProtocolHandler ( Stream inStr, Stream outStr ) : System
inStr Stream
outStr Stream
Результат System

TlsProtocolHandler() публичный метод

Both streams can be the same object
public TlsProtocolHandler ( Stream inStr, Stream outStr, SecureRandom sr ) : System
inStr Stream
outStr Stream
sr SecureRandom
Результат System