C# 클래스 Zoompf.SPDYAnalysis.TlsHandshaker

파일 보기 프로젝트 열기: zoompf/SPDYCheck

공개 메소드들

메소드 설명
ExchangeHellos ( string hostname, int port, SslProtocols protocol, int mSecTimeout = 8000 ) : ServerHello

보호된 메소드들

메소드 설명
buildALPNExtension ( ) : byte[]
buildDateTimeBytes ( ) : byte[]

Gets the CTime bytes in proper endian-ness for use in random parameter of Client Hello

buildNPNExtension ( ) : byte[]
buildRandomBytes ( ) : byte[]
buildSNIRecord ( string hostname ) : byte[]

Builds the SNI extension bytes for a hostname (SNI is the length of the hostname + 9 bytes)

readAsInt ( byte array, int offset, int len ) : int
removeWhitespace ( string s ) : string
toInt16 ( int num ) : byte[]

비공개 메소드들

메소드 설명
createTLSClientHello ( String hostname, SslProtocols protocol ) : byte[]

메소드 상세

ExchangeHellos() 공개 정적인 메소드

public static ExchangeHellos ( string hostname, int port, SslProtocols protocol, int mSecTimeout = 8000 ) : ServerHello
hostname string
port int
protocol SslProtocols
mSecTimeout int
리턴 ServerHello

buildALPNExtension() 보호된 정적인 메소드

protected static buildALPNExtension ( ) : byte[]
리턴 byte[]

buildDateTimeBytes() 보호된 정적인 메소드

Gets the CTime bytes in proper endian-ness for use in random parameter of Client Hello
protected static buildDateTimeBytes ( ) : byte[]
리턴 byte[]

buildNPNExtension() 보호된 정적인 메소드

protected static buildNPNExtension ( ) : byte[]
리턴 byte[]

buildRandomBytes() 보호된 정적인 메소드

protected static buildRandomBytes ( ) : byte[]
리턴 byte[]

buildSNIRecord() 보호된 정적인 메소드

Builds the SNI extension bytes for a hostname (SNI is the length of the hostname + 9 bytes)
protected static buildSNIRecord ( string hostname ) : byte[]
hostname string
리턴 byte[]

readAsInt() 보호된 정적인 메소드

protected static readAsInt ( byte array, int offset, int len ) : int
array byte
offset int
len int
리턴 int

removeWhitespace() 보호된 정적인 메소드

protected static removeWhitespace ( string s ) : string
s string
리턴 string

toInt16() 보호된 정적인 메소드

protected static toInt16 ( int num ) : byte[]
num int
리턴 byte[]