Table of Contents

Class ED25519Key

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

Contains ED25519 private and public key.

public class ED25519Key : Key, IDisposable

Inheritance

Key

Implements

Inherited Members

Constructors

ED25519Key(SshKeyData)

Initializes a new instance of the Renci.SshNet.Security.ED25519Key class.

public ED25519Key(SshKeyData publicKeyData)

Parameters

publicKeyData SshKeyData

The encoded public key data.

ED25519Key(byte[])

Initializes a new instance of the Renci.SshNet.Security.ED25519Key class.

public ED25519Key(byte[] privateKeyData)

Parameters

privateKeyData byte[]

The private key data k || ENC(A) as described in RFC 8032.

Properties

DigitalSignature

Gets the digital signature.

protected override DigitalSignature DigitalSignature { get; }

Property Value

DigitalSignature

KeyLength

Gets the length of the key.

public override int KeyLength { get; }

Property Value

int

PrivateKey

Gets the PrivateKey Bytes.

public byte[] PrivateKey { get; }

Property Value

byte[]

Public

Gets the Ed25519 public key.

public override BigInteger[] Public { get; }

Property Value

BigInteger[]

PublicKey

Gets the PublicKey Bytes.

public byte[] PublicKey { get; }

Property Value

byte[]

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

~ED25519Key()

Finalizes an instance of the Renci.SshNet.Security.ED25519Key class.

protected ~ED25519Key()

ToString()

Gets the name of the key.

public override string ToString()

Returns

string

The name of the key.