C# 클래스 Mono.Security.Protocol.Tls.RecordProtocol

파일 보기 프로젝트 열기: runefs/Marvin

보호된 프로퍼티들

프로퍼티 타입 설명
context Context
innerStream Stream

공개 메소드들

메소드 설명
BeginReceiveRecord ( Stream record, AsyncCallback callback, object state ) : IAsyncResult
BeginSendRecord ( ContentType contentType, byte recordData, AsyncCallback callback, object state ) : IAsyncResult
BeginSendRecord ( HandshakeType handshakeType, AsyncCallback callback, object state ) : IAsyncResult
EncodeRecord ( ContentType contentType, byte recordData ) : byte[]
EncodeRecord ( ContentType contentType, byte recordData, int offset, int count ) : byte[]
EndReceiveRecord ( IAsyncResult asyncResult ) : byte[]
EndSendRecord ( IAsyncResult asyncResult ) : void
GetMessage ( HandshakeType type ) : HandshakeMessage
ReceiveRecord ( Stream record ) : byte[]
RecordProtocol ( Stream innerStream, Context context ) : System
SendAlert ( Alert alert ) : void
SendAlert ( AlertDescription description ) : void
SendAlert ( AlertLevel level, AlertDescription description ) : void
SendChangeCipherSpec ( ) : void
SendRecord ( ContentType contentType, byte recordData ) : void
SendRecord ( HandshakeType type ) : void

보호된 메소드들

메소드 설명
ProcessChangeCipherSpec ( ) : void
ProcessHandshakeMessage ( TlsStream handMsg ) : void

비공개 메소드들

메소드 설명
Compare ( byte array1, byte array2 ) : bool
InternalReceiveRecordCallback ( IAsyncResult asyncResult ) : void
InternalSendRecordCallback ( IAsyncResult ar ) : void
MapV2CipherCode ( string prefix, int code ) : CipherSuite
ProcessAlert ( AlertLevel alertLevel, AlertDescription alertDesc ) : void
ProcessCipherSpecV2Buffer ( SecurityProtocolType protocol, byte buffer ) : void
ReadClientHelloV2 ( Stream record ) : byte[]
ReadRecordBuffer ( int contentType, Stream record ) : byte[]
ReadStandardRecordBuffer ( Stream record ) : byte[]
decryptRecordFragment ( ContentType contentType, byte fragment ) : byte[]
encryptRecordFragment ( ContentType contentType, byte fragment ) : byte[]

메소드 상세

BeginReceiveRecord() 공개 메소드

public BeginReceiveRecord ( Stream record, AsyncCallback callback, object state ) : IAsyncResult
record Stream
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSendRecord() 공개 메소드

public BeginSendRecord ( ContentType contentType, byte recordData, AsyncCallback callback, object state ) : IAsyncResult
contentType ContentType
recordData byte
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSendRecord() 공개 메소드

public BeginSendRecord ( HandshakeType handshakeType, AsyncCallback callback, object state ) : IAsyncResult
handshakeType HandshakeType
callback AsyncCallback
state object
리턴 IAsyncResult

EncodeRecord() 공개 메소드

public EncodeRecord ( ContentType contentType, byte recordData ) : byte[]
contentType ContentType
recordData byte
리턴 byte[]

EncodeRecord() 공개 메소드

public EncodeRecord ( ContentType contentType, byte recordData, int offset, int count ) : byte[]
contentType ContentType
recordData byte
offset int
count int
리턴 byte[]

EndReceiveRecord() 공개 메소드

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

EndSendRecord() 공개 메소드

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

GetMessage() 공개 메소드

public GetMessage ( HandshakeType type ) : HandshakeMessage
type HandshakeType
리턴 HandshakeMessage

ProcessChangeCipherSpec() 보호된 메소드

protected ProcessChangeCipherSpec ( ) : void
리턴 void

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

protected abstract ProcessHandshakeMessage ( TlsStream handMsg ) : void
handMsg TlsStream
리턴 void

ReceiveRecord() 공개 메소드

public ReceiveRecord ( Stream record ) : byte[]
record Stream
리턴 byte[]

RecordProtocol() 공개 메소드

public RecordProtocol ( Stream innerStream, Context context ) : System
innerStream Stream
context Context
리턴 System

SendAlert() 공개 메소드

public SendAlert ( Alert alert ) : void
alert Alert
리턴 void

SendAlert() 공개 메소드

public SendAlert ( AlertDescription description ) : void
description AlertDescription
리턴 void

SendAlert() 공개 메소드

public SendAlert ( AlertLevel level, AlertDescription description ) : void
level AlertLevel
description AlertDescription
리턴 void

SendChangeCipherSpec() 공개 메소드

public SendChangeCipherSpec ( ) : void
리턴 void

SendRecord() 공개 메소드

public SendRecord ( ContentType contentType, byte recordData ) : void
contentType ContentType
recordData byte
리턴 void

SendRecord() 공개 메소드

public SendRecord ( HandshakeType type ) : void
type HandshakeType
리턴 void

프로퍼티 상세

context 보호되어 있는 프로퍼티

protected Context context
리턴 Context

innerStream 보호되어 있는 프로퍼티

protected Stream innerStream
리턴 Stream