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

Inheritance: SslStreamBase
Show file Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
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

Method Details

Dispose() protected method

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

SslServerStream() public method

public SslServerStream ( Stream stream, X509Certificate serverCertificate ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
return System

SslServerStream() public method

public SslServerStream ( Stream stream, X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream ) : System
stream Stream
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
ownsStream bool
return System

SslServerStream() public method

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
return System

SslServerStream() public method

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
return System

SslServerStream() public method

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
return System