<PackageReference Include="SSH.NET" Version="2016.1.0" />

RequestMessagePublicKey

Represents "publickey" SSH_MSG_USERAUTH_REQUEST message.
public byte[] PublicKeyAlgorithmName { get; }

Gets the name of the public key algorithm as ASCII encoded byte array.

public byte[] PublicKeyData { get; }

Gets the public key data.

public byte[] Signature { get; set; }

Gets or sets public key signature.

public RequestMessagePublicKey(ServiceName serviceName, string username, string keyAlgorithmName, byte[] keyData)

Initializes a new instance of the RequestMessagePublicKey class.

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

Initializes a new instance of the RequestMessagePublicKey class.