C# Class Renci.SshNet.Messages.Authentication.RequestMessagePublicKey

Represents "publickey" SSH_MSG_USERAUTH_REQUEST message.
Inheritance: RequestMessage
Mostrar archivo Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
RequestMessagePublicKey ( ServiceName serviceName, string username, string keyAlgorithmName, byte keyData )

Initializes a new instance of the RequestMessagePublicKey class.

RequestMessagePublicKey ( ServiceName serviceName, string username, string keyAlgorithmName, byte keyData, byte signature )

Initializes a new instance of the RequestMessagePublicKey class.

Protected Methods

Method Description
SaveData ( ) : void

Called when type specific data need to be saved.

Method Details

RequestMessagePublicKey() public method

Initializes a new instance of the RequestMessagePublicKey class.
public RequestMessagePublicKey ( ServiceName serviceName, string username, string keyAlgorithmName, byte keyData )
serviceName ServiceName Name of the service.
username string Authentication username.
keyAlgorithmName string Name of private key algorithm.
keyData byte Private key data.

RequestMessagePublicKey() public method

Initializes a new instance of the RequestMessagePublicKey class.
public RequestMessagePublicKey ( ServiceName serviceName, string username, string keyAlgorithmName, byte keyData, byte signature )
serviceName ServiceName Name of the service.
username string Authentication username.
keyAlgorithmName string Name of private key algorithm.
keyData byte Private key data.
signature byte Private key signature.

SaveData() protected method

Called when type specific data need to be saved.
protected SaveData ( ) : void
return void