C# Class Mono.Security.Protocol.Tls.SslStreamBase

Inheritance: Stream, IDisposable
Mostrar archivo Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
AsyncHandshakeCallback void
BeginNegotiateHandshake bool
EndNegotiateHandshake void
InternalBeginRead void
InternalBeginWrite void
InternalReadCallback void
InternalWriteCallback void
NegotiateHandshake void
OnBeginNegotiateHandshake IAsyncResult
OnLocalCertificateSelection System.Security.Cryptography.X509Certificates.X509Certificate
OnLocalPrivateKeySelection System.Security.Cryptography.AsymmetricAlgorithm
OnNegotiateHandshakeCallback void
OnRemoteCertificateValidation bool
OnRemoteCertificateValidation2 ValidationResult
RaiseLocalCertificateSelection System.Security.Cryptography.X509Certificates.X509Certificate
RaiseLocalPrivateKeySelection System.Security.Cryptography.AsymmetricAlgorithm
RaiseRemoteCertificateValidation bool
RaiseRemoteCertificateValidation2 ValidationResult
checkDisposed void
resetBuffer void

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
Dispose ( ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( byte buffer ) : int
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
SslStreamBase ( Stream stream, bool ownsStream ) : System

Private Methods

Method Description
AsyncHandshakeCallback ( IAsyncResult asyncResult ) : void
BeginNegotiateHandshake ( InternalAsyncResult asyncResult ) : bool
EndNegotiateHandshake ( InternalAsyncResult asyncResult ) : void
InternalBeginRead ( InternalAsyncResult asyncResult ) : void
InternalBeginWrite ( InternalAsyncResult asyncResult ) : void
InternalReadCallback ( IAsyncResult result ) : void
InternalWriteCallback ( IAsyncResult ar ) : void
NegotiateHandshake ( ) : void
OnBeginNegotiateHandshake ( AsyncCallback callback, object state ) : IAsyncResult
OnLocalCertificateSelection ( X509CertificateCollection clientCertificates, X509Certificate serverCertificate, string targetHost, X509CertificateCollection serverRequestedCertificates ) : X509Certificate
OnLocalPrivateKeySelection ( X509Certificate certificate, string targetHost ) : AsymmetricAlgorithm
OnNegotiateHandshakeCallback ( IAsyncResult asyncResult ) : void
OnRemoteCertificateValidation ( X509Certificate certificate, int errors ) : bool
OnRemoteCertificateValidation2 ( Mono collection ) : ValidationResult
RaiseLocalCertificateSelection ( X509CertificateCollection certificates, X509Certificate remoteCertificate, string targetHost, X509CertificateCollection requestedCertificates ) : X509Certificate
RaiseLocalPrivateKeySelection ( X509Certificate certificate, string targetHost ) : AsymmetricAlgorithm
RaiseRemoteCertificateValidation ( X509Certificate certificate, int errors ) : bool
RaiseRemoteCertificateValidation2 ( Mono collection ) : ValidationResult
checkDisposed ( ) : void
resetBuffer ( ) : void

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer ) : int
buffer byte
return int

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

SslStreamBase() protected method

protected SslStreamBase ( Stream stream, bool ownsStream ) : System
stream Stream
ownsStream bool
return System

Write() public method

public Write ( byte buffer ) : void
buffer byte
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void