C# 클래스 AaltoTLS.SecureSession

파일 보기 프로젝트 열기: juhovh/AaltoTLS 1 사용 예제들

공개 메소드들

메소드 설명
BeginClientHandshake ( string targetHost, AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
BeginReceive ( AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
BeginSend ( byte buffer, int offset, int count, AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
BeginServerHandshake ( X509Certificate serverCertificate, AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
Close ( ) : void
EndClientHandshake ( IAsyncResult asyncResult ) : void
EndReceive ( IAsyncResult asyncResult ) : byte[]
EndSend ( IAsyncResult asyncResult ) : void
EndServerHandshake ( IAsyncResult asyncResult ) : void
PerformClientHandshake ( string targetHost ) : void
PerformServerHandshake ( X509Certificate serverCertificate ) : void
Receive ( ) : byte[]
SecureSession ( Stream stream, SecurityParameters securityParameters ) : System
Send ( byte buffer ) : void
Send ( byte buffer, int offset, int count ) : void

비공개 메소드들

메소드 설명
EndHandshake ( IAsyncResult asyncResult ) : void
ProcessAlertRecord ( Record record, AaltoTLS.AsyncGenericResult asyncGenericResult ) : void
ProcessChangeCipherSpecRecord ( Record record, AsyncHandshakeResult asyncHandshakeResult ) : void
ProcessHandshakeRecord ( Record record, AsyncHandshakeResult asyncHandshakeResult ) : void
ProcessSendChangeCipherSpec ( AsyncHandshakeResult asyncHandshakeResult ) : void
ProcessSendFatalAlert ( AaltoTLS.Alerts.Alert alert ) : void
ProcessSendHandshakePacket ( AsyncHandshakeResult asyncHandshakeResult ) : void
ProcessUnknownRecord ( Record record, AaltoTLS.AsyncGenericResult asyncGenericResult ) : void
ReceiveDataCallback ( IAsyncResult asyncResult ) : void
ReceiveHandshakeCallback ( IAsyncResult asyncResult ) : void
SendDataCallback ( IAsyncResult asyncResult ) : void
SendHandshakeCallback ( IAsyncResult asyncResult ) : void

메소드 상세

BeginClientHandshake() 공개 메소드

public BeginClientHandshake ( string targetHost, AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
targetHost string
asyncCallback AsyncCallback
asyncState Object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState Object
리턴 IAsyncResult

BeginSend() 공개 메소드

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

BeginServerHandshake() 공개 메소드

public BeginServerHandshake ( X509Certificate serverCertificate, AsyncCallback asyncCallback, Object asyncState ) : IAsyncResult
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
asyncCallback AsyncCallback
asyncState Object
리턴 IAsyncResult

Close() 공개 메소드

public Close ( ) : void
리턴 void

EndClientHandshake() 공개 메소드

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

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult asyncResult ) : byte[]
asyncResult IAsyncResult
리턴 byte[]

EndSend() 공개 메소드

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

EndServerHandshake() 공개 메소드

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

PerformClientHandshake() 공개 메소드

public PerformClientHandshake ( string targetHost ) : void
targetHost string
리턴 void

PerformServerHandshake() 공개 메소드

public PerformServerHandshake ( X509Certificate serverCertificate ) : void
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
리턴 void

Receive() 공개 메소드

public Receive ( ) : byte[]
리턴 byte[]

SecureSession() 공개 메소드

public SecureSession ( Stream stream, SecurityParameters securityParameters ) : System
stream Stream
securityParameters SecurityParameters
리턴 System

Send() 공개 메소드

public Send ( byte buffer ) : void
buffer byte
리턴 void

Send() 공개 메소드

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