C# 클래스 OpenSSL.SSL.SslStreamBase

상속: Stream, IDisposable
파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
checkCertificateRevocationStatus bool
handShakeState HandshakeState
handshakeException OpenSSL.Core.OpenSslException
localCertificateSelectionCallback LocalCertificateSelectionHandler
remoteCertificateSelectionCallback RemoteCertificateValidationHandler

Private Properties

프로퍼티 타입 설명
AsyncHandshakeCallback void
AsyncHandshakeComplete void
BeginHandshake IAsyncResult
EndHandshake void
GetCipherString string
IDisposable void
InternalBeginRead void
InternalBeginWrite void
InternalReadCallback void
InternalWriteCallback void
RenegotiationWriteCallback void

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
Close ( ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Renegotiate ( ) : void

Renegotiate session keys - calls SSL_renegotiate

Seek ( long offset, SeekOrigin origin ) : long
SendShutdownAlert ( ) : void
SetLength ( long value ) : void
SslStreamBase ( Stream stream, bool ownStream ) : System
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

메소드 설명
ProcessHandshake ( ) : bool

Override to implement client/server specific handshake processing

비공개 메소드들

메소드 설명
AsyncHandshakeCallback ( IAsyncResult asyncResult ) : void
AsyncHandshakeComplete ( IAsyncResult asyncResult ) : void
BeginHandshake ( InternalAsyncResult readwriteAsyncResult ) : IAsyncResult
EndHandshake ( IAsyncResult asyncResult ) : void
GetCipherString ( bool FIPSmode, SslProtocols sslProtocols, SslStrength sslStrength ) : string
IDisposable ( ) : void
InternalBeginRead ( InternalAsyncResult asyncResult ) : void
InternalBeginWrite ( InternalAsyncResult asyncResult ) : void
InternalReadCallback ( IAsyncResult asyncResult ) : void
InternalWriteCallback ( IAsyncResult asyncResult ) : void
RenegotiationWriteCallback ( IAsyncResult asyncResult ) : void

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
리턴 IAsyncResult

Close() 공개 메소드

public Close ( ) : void
리턴 void

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

ProcessHandshake() 보호된 추상적인 메소드

Override to implement client/server specific handshake processing
protected abstract ProcessHandshake ( ) : bool
리턴 bool

Read() 공개 메소드

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

Renegotiate() 공개 메소드

Renegotiate session keys - calls SSL_renegotiate
public Renegotiate ( ) : void
리턴 void

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SendShutdownAlert() 공개 메소드

public SendShutdownAlert ( ) : void
리턴 void

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

SslStreamBase() 공개 메소드

public SslStreamBase ( Stream stream, bool ownStream ) : System
stream Stream
ownStream bool
리턴 System

Write() 공개 메소드

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

프로퍼티 상세

checkCertificateRevocationStatus 보호되어 있는 프로퍼티

protected bool checkCertificateRevocationStatus
리턴 bool

handShakeState 보호되어 있는 프로퍼티

protected HandshakeState handShakeState
리턴 HandshakeState

handshakeException 보호되어 있는 프로퍼티

protected OpenSslException,OpenSSL.Core handshakeException
리턴 OpenSSL.Core.OpenSslException

localCertificateSelectionCallback 보호되어 있는 프로퍼티

protected LocalCertificateSelectionHandler localCertificateSelectionCallback
리턴 LocalCertificateSelectionHandler

remoteCertificateSelectionCallback 보호되어 있는 프로퍼티

protected RemoteCertificateValidationHandler remoteCertificateSelectionCallback
리턴 RemoteCertificateValidationHandler