Method | Description | |
---|---|---|
ExchangeHellos ( string hostname, int port, SslProtocols protocol, int mSecTimeout = 8000 ) : |
Method | Description | |
---|---|---|
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[] |
Method | Description | |
---|---|---|
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 | |
return |
protected static buildALPNExtension ( ) : byte[] | ||
return | byte[] |
protected static buildDateTimeBytes ( ) : byte[] | ||
return | byte[] |
protected static buildNPNExtension ( ) : byte[] | ||
return | byte[] |
protected static buildRandomBytes ( ) : byte[] | ||
return | byte[] |
protected static buildSNIRecord ( string hostname ) : byte[] | ||
hostname | string | |
return | byte[] |
protected static readAsInt ( byte array, int offset, int len ) : int | ||
array | byte | |
offset | int | |
len | int | |
return | int |
protected static removeWhitespace ( string s ) : string | ||
s | string | |
return | string |
protected static toInt16 ( int num ) : byte[] | ||
num | int | |
return | byte[] |