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

Renci.SshNet.Security.SshKeyData

public sealed class SshKeyData : SshData
Facilitates (de)serializing encoded public key data in the format specified by RFC 4253 section 6.6.
public BigInteger[] Keys { get; }

Gets the public key constituents.

public string Name { get; }

Gets the public key format identifier.

public SshKeyData(byte[] data)

Initializes a new instance of the SshKeyData class.

public SshKeyData(string name, BigInteger[] keys)

Initializes a new instance of the SshKeyData class.