Метод | Описание | |
---|---|---|
CreateClientCipher ( ) : Cipher |
Creates the client side cipher to use.
|
|
CreateClientHash ( ) : HashAlgorithm |
Creates the client side hash algorithm to use.
|
|
CreateCompressor ( ) : |
Creates the compression algorithm to use to deflate data.
|
|
CreateDecompressor ( ) : |
Creates the compression algorithm to use to inflate data.
|
|
CreateServerCipher ( ) : Cipher |
Creates the server side cipher to use.
|
|
CreateServerHash ( ) : HashAlgorithm |
Creates the server side hash algorithm to use.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Finish ( ) : void |
Finishes key exchange algorithm.
|
|
Start ( Session session, |
Starts key exchange algorithm
|
Метод | Описание | |
---|---|---|
CalculateHash ( ) : byte[] |
Calculates key exchange hash value.
|
|
CanTrustHostKey ( |
Determines whether the specified host key can be trusted.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
Hash ( byte hashData ) : byte[] |
Hashes the specified data bytes.
|
|
SendMessage ( |
Sends SSH message to the server
|
|
ValidateExchangeHash ( ) : bool |
Validates the exchange hash.
|
Метод | Описание | |
---|---|---|
GenerateSessionKey ( BigInteger sharedKey, byte exchangeHash, byte key, int size ) : byte[] |
Generates the session key.
|
|
GenerateSessionKey ( BigInteger sharedKey, byte exchangeHash, char p, byte sessionId ) : byte[] |
Generates the session key.
|
protected abstract CalculateHash ( ) : byte[] | ||
Результат | byte[] |
protected CanTrustHostKey ( |
||
host | The host algorithm. | |
Результат | bool |
public CreateClientHash ( ) : HashAlgorithm | ||
Результат | HashAlgorithm |
public CreateCompressor ( ) : |
||
Результат |
public CreateDecompressor ( ) : |
||
Результат |
public CreateServerHash ( ) : HashAlgorithm | ||
Результат | HashAlgorithm |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
protected Hash ( byte hashData ) : byte[] | ||
hashData | byte | The hash data. |
Результат | byte[] |
protected SendMessage ( |
||
message | The message. | |
Результат | void |
public Start ( Session session, |
||
session | Session | The session. |
message | Key exchange init message. | |
Результат | void |
protected abstract ValidateExchangeHash ( ) : bool | ||
Результат | bool |