C# 클래스 Iaik.Utils.Net.SslConnection

상속: TcpSocketConnection
파일 보기 프로젝트 열기: areiter/InMemoryFuzzing

공개 메소드들

메소드 설명
CertificateErrorCodeToMessage ( int errorCode ) : string
Connect ( ) : void
Read ( byte buffer, int offset, int length ) : int
SslConnection ( Socket socket, SslStreamBase stream ) : System
SslConnection ( string host, int port, X509Certificate2 clientCertificate ) : System
SslConnection ( string host, int port, X509Certificate2 clientCertificate, string overwriteAuthenticationTargetHost ) : System
Write ( byte buffer, int offset, int length ) : void

비공개 메소드들

메소드 설명
SelectLocalCertificate ( X509CertificateCollection clientCertificates, X509Certificate serverCertificate, string targetHost, X509CertificateCollection serverRequestedCertificates ) : X509Certificate

Selects a certificate to authenticate with for the host

ValidateRemoteCertificate ( X509Certificate certificate, int certificateErrors ) : bool

Validates the certificate of the remote host

메소드 상세

CertificateErrorCodeToMessage() 공개 정적인 메소드

public static CertificateErrorCodeToMessage ( int errorCode ) : string
errorCode int
리턴 string

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
리턴 int

SslConnection() 공개 메소드

public SslConnection ( Socket socket, SslStreamBase stream ) : System
socket System.Net.Sockets.Socket
stream Mono.Security.Protocol.Tls.SslStreamBase
리턴 System

SslConnection() 공개 메소드

public SslConnection ( string host, int port, X509Certificate2 clientCertificate ) : System
host string
port int
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
리턴 System

SslConnection() 공개 메소드

public SslConnection ( string host, int port, X509Certificate2 clientCertificate, string overwriteAuthenticationTargetHost ) : System
host string
port int
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
overwriteAuthenticationTargetHost string
리턴 System

Write() 공개 메소드

public Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void