Method | Description | |
---|---|---|
AlgorithmToSSH2Name ( CipherAlgorithm algorithm ) : string | ||
CreateCipher ( SSHProtocol protocol, CipherAlgorithm algorithm, byte key ) : Cipher | ||
CreateCipher ( SSHProtocol protocol, CipherAlgorithm algorithm, byte key, byte iv ) : Cipher | ||
GetBlockSize ( CipherAlgorithm algorithm ) : int |
returns the block size from Algorithm in bytes
|
|
GetKeySize ( CipherAlgorithm algorithm ) : int |
returns necessary key size from Algorithm in bytes
|
|
SSH2NameToAlgorithm ( string name ) : CipherAlgorithm |
public static AlgorithmToSSH2Name ( CipherAlgorithm algorithm ) : string | ||
algorithm | CipherAlgorithm | |
return | string |
public static CreateCipher ( SSHProtocol protocol, CipherAlgorithm algorithm, byte key ) : Cipher | ||
protocol | SSHProtocol | |
algorithm | CipherAlgorithm | |
key | byte | |
return | Cipher |
public static CreateCipher ( SSHProtocol protocol, CipherAlgorithm algorithm, byte key, byte iv ) : Cipher | ||
protocol | SSHProtocol | |
algorithm | CipherAlgorithm | |
key | byte | |
iv | byte | |
return | Cipher |
public static GetBlockSize ( CipherAlgorithm algorithm ) : int | ||
algorithm | CipherAlgorithm | |
return | int |
public static GetKeySize ( CipherAlgorithm algorithm ) : int | ||
algorithm | CipherAlgorithm | |
return | int |
public static SSH2NameToAlgorithm ( string name ) : CipherAlgorithm | ||
name | string | |
return | CipherAlgorithm |