C# 클래스 AaltoTLS.RecordLayer.RecordHandler

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

공개 메소드들

메소드 설명
ChangeLocalState ( ) : void
ChangeRemoteState ( ) : void
ProcessInputRecord ( Record input ) : bool
ProcessOutputRecord ( Record output ) : void
RecordHandler ( ProtocolVersion version, bool isClient ) : System
SetCipherSuite ( CipherSuite cipherSuite, ConnectionState connectionState ) : void

비공개 메소드들

메소드 설명
CompressRecord ( Record record ) : void
CreateAEADDecryptor ( CipherSuite cipherSuite, Record record, byte key, byte fixedIV, System.UInt64 seqNum ) : ICryptoTransform
CreateAEADEncryptor ( CipherSuite cipherSuite, Record record, byte key, byte fixedIV, byte recordIV, System.UInt64 seqNum, byte &nonceExplicit ) : ICryptoTransform
DecompressRecord ( Record record ) : void
DecryptRecord ( CipherSuite cipherSuite, Record record, ICryptoTransform cipher ) : bool
EncryptRecord ( CipherSuite cipherSuite, Record record, ICryptoTransform cipher, byte nonceExplicit ) : void
GenerateAEADNonce ( byte nonceImplicit, byte nonceExplicit ) : byte[]
GenerateAEADNonceExplicit ( byte recordIV, System.UInt64 seqNum ) : byte[]
GenerateMAC ( CipherSuite cipherSuite, Record record, System.UInt64 seqNum, KeyedHashAlgorithm hasher ) : void
GeneratePadding ( CipherSuite cipherSuite, Record record ) : void
GetAdditionalBytes ( System.UInt64 seqNum, byte type, ProtocolVersion version, int length ) : byte[]
RemoveMAC ( CipherSuite cipherSuite, Record record, System.UInt64 seqNum, KeyedHashAlgorithm hasher ) : bool
RemovePadding ( CipherSuite cipherSuite, Record record ) : bool
TransformRecordBytes ( BulkCipherAlgorithmType cipherType, ICryptoTransform transform, byte input ) : byte[]

메소드 상세

ChangeLocalState() 공개 메소드

public ChangeLocalState ( ) : void
리턴 void

ChangeRemoteState() 공개 메소드

public ChangeRemoteState ( ) : void
리턴 void

ProcessInputRecord() 공개 메소드

public ProcessInputRecord ( Record input ) : bool
input Record
리턴 bool

ProcessOutputRecord() 공개 메소드

public ProcessOutputRecord ( Record output ) : void
output Record
리턴 void

RecordHandler() 공개 메소드

public RecordHandler ( ProtocolVersion version, bool isClient ) : System
version AaltoTLS.PluginInterface.ProtocolVersion
isClient bool
리턴 System

SetCipherSuite() 공개 메소드

public SetCipherSuite ( CipherSuite cipherSuite, ConnectionState connectionState ) : void
cipherSuite AaltoTLS.PluginInterface.CipherSuite
connectionState ConnectionState
리턴 void