Метод | Описание | |
---|---|---|
ExchangeHellos ( string hostname, int port, SslProtocols protocol, int mSecTimeout = 8000 ) : |
Метод | Описание | |
---|---|---|
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[] |
public static ExchangeHellos ( string hostname, int port, SslProtocols protocol, int mSecTimeout = 8000 ) : |
||
hostname | string | |
port | int | |
protocol | SslProtocols | |
mSecTimeout | int | |
Результат |
protected static buildALPNExtension ( ) : byte[] | ||
Результат | byte[] |
protected static buildDateTimeBytes ( ) : byte[] | ||
Результат | byte[] |
protected static buildNPNExtension ( ) : byte[] | ||
Результат | byte[] |
protected static buildRandomBytes ( ) : byte[] | ||
Результат | byte[] |
protected static buildSNIRecord ( string hostname ) : byte[] | ||
hostname | string | |
Результат | byte[] |
protected static readAsInt ( byte array, int offset, int len ) : int | ||
array | byte | |
offset | int | |
len | int | |
Результат | int |
protected static removeWhitespace ( string s ) : string | ||
s | string | |
Результат | string |
protected static toInt16 ( int num ) : byte[] | ||
num | int | |
Результат | byte[] |