Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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[] | ||
return | byte[] |
protected CanTrustHostKey ( |
||
host | The host algorithm. | |
return | bool |
public CreateCompressor ( ) : |
||
return |
public CreateDecompressor ( ) : |
||
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
protected Hash ( byte hashData ) : byte[] | ||
hashData | byte | The hash data. |
return | byte[] |
protected SendMessage ( |
||
message | The message. | |
return | void |
public Start ( Session session, |
||
session | Session | The session. |
message | Key exchange init message. | |
return | void |
protected abstract ValidateExchangeHash ( ) : bool | ||
return | bool |