Table of Contents

Class NKeyPair

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Partial implementation of the NATS Ed25519 KeyPair. This is not complete, but provides enough functionality to implement the client side NATS 2.0 security scheme.

public class NKeyPair : IDisposable
Inheritance
NKeyPair
Implements
Inherited Members

Properties

PrivateKeySeed

Gets the private key of the keypair.

PublicKey

Gets the public key of the keypair.

Methods

Dispose()

Releases all resources used by the NKeyPair.

Dispose(bool)

Releases the unmanaged resources used by the NKeyPair and optionally releases the managed resources.

Sign(byte[])

Signs data and returns a signature.

Wipe()

Wipes clean the internal private keys.