Table of Contents

Class SshKeyData

Namespace
Renci.SshNet.Security
Assembly
Renci.SshNet.dll

Facilitates (de)serializing encoded public key data in the format specified by RFC 4253 section 6.6.

public sealed class SshKeyData : SshData
Inheritance
SshKeyData
Inherited Members

Remarks

Constructors

SshKeyData(byte[])

Initializes a new instance of the SshKeyData class.

public SshKeyData(byte[] data)

Parameters

data byte[]

The encoded public key data.

SshKeyData(string, BigInteger[])

Initializes a new instance of the SshKeyData class.

public SshKeyData(string name, BigInteger[] keys)

Parameters

name string

The public key format identifer.

keys BigInteger[]

The public key constituents.

Properties

BufferCapacity

protected override int BufferCapacity { get; }

Property Value

int

Keys

Gets the public key constituents.

public BigInteger[] Keys { get; }

Property Value

BigInteger[]

Name

Gets the public key format identifier.

public string Name { get; }

Property Value

string

Methods

LoadData()

protected override void LoadData()

SaveData()

protected override void SaveData()