C# 클래스 Universal.Torrent.Client.Encryption.PeerBEncryption

Class to handle message stream encryption for receiving connections
상속: EncryptedSocket
파일 보기 프로젝트 열기: haroldma/Universal.Torrent

공개 메소드들

메소드 설명
PeerBEncryption ( InfoHash possibleSkeYs, EncryptionTypes allowedEncryption ) : System

보호된 메소드들

메소드 설명
DoneReceiveY ( ) : void
DoneSynchronize ( ) : void

비공개 메소드들

메소드 설명
GotInitialPayload ( IAsyncResult result ) : void
GotPadC ( IAsyncResult result ) : void
GotVerification ( IAsyncResult result ) : void
MatchSkey ( IReadOnlyList torrentHash ) : bool

Matches a torrent based on whether the HASH('req2', SKEY) xor HASH('req3', S) matches, where SKEY is the InfoHash of the torrent and sets the SKEY to the InfoHash of the matched torrent.

StepFour ( ) : void

메소드 상세

DoneReceiveY() 보호된 메소드

protected DoneReceiveY ( ) : void
리턴 void

DoneSynchronize() 보호된 메소드

protected DoneSynchronize ( ) : void
리턴 void

PeerBEncryption() 공개 메소드

public PeerBEncryption ( InfoHash possibleSkeYs, EncryptionTypes allowedEncryption ) : System
possibleSkeYs InfoHash
allowedEncryption EncryptionTypes
리턴 System