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

Inheritance: Stream, IDisposable
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
SslStreamBase ( Stream stream, bool ownsStream ) : System

Private Methods

Méthode 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 méthode

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

BeginWrite() public méthode

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

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer ) : int
buffer byte
Résultat int

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

SslStreamBase() protected méthode

protected SslStreamBase ( Stream stream, bool ownsStream ) : System
stream Stream
ownsStream bool
Résultat System

Write() public méthode

public Write ( byte buffer ) : void
buffer byte
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void