C# Класс Mono.Security.Protocol.Tls.SslServerStream

Наследование: SslStreamBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
OnBeginNegotiateHandshake IAsyncResult
OnLocalCertificateSelection System.Security.Cryptography.X509Certificates.X509Certificate
OnLocalPrivateKeySelection System.Security.Cryptography.AsymmetricAlgorithm
OnNegotiateHandshakeCallback void
OnRemoteCertificateValidation bool
OnRemoteCertificateValidation2 ValidationResult
RaiseClientCertificateValidation bool
RaisePrivateKeySelection System.Security.Cryptography.AsymmetricAlgorithm

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

Метод Описание
SslServerStream ( Stream stream, X509Certificate serverCertificate ) : System
SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream ) : System
SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream, SecurityProtocolType securityProtocolType ) : System
SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream ) : System
SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream, SecurityProtocolType securityProtocolType ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : 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
RaiseClientCertificateValidation ( X509Certificate certificate, int certificateErrors ) : bool
RaisePrivateKeySelection ( X509Certificate certificate, string targetHost ) : AsymmetricAlgorithm

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

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

SslServerStream() публичный Метод

public SslServerStream ( Stream stream, X509Certificate serverCertificate ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
Результат System

SslServerStream() публичный Метод

public SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
ownsStream bool
Результат System

SslServerStream() публичный Метод

public SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream, SecurityProtocolType securityProtocolType ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
ownsStream bool
securityProtocolType SecurityProtocolType
Результат System

SslServerStream() публичный Метод

public SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
requestClientCertificate bool
ownsStream bool
Результат System

SslServerStream() публичный Метод

public SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream, SecurityProtocolType securityProtocolType ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
requestClientCertificate bool
ownsStream bool
securityProtocolType SecurityProtocolType
Результат System