NATS .NET Client  1.1.4
The NATS.io .NET C# Client
NATS.Client.NkeyPair Class Reference

Inherits IDisposable.

Public Member Functions

void Wipe ()
 
byte[] Sign (byte[] src)
 
void Dispose ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Properties

byte[] PublicKey [get]
 
byte[] PrivateKeySeed [get]
 

Detailed Description

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.

Member Function Documentation

◆ Dispose()

virtual void NATS.Client.NkeyPair.Dispose ( bool  disposing)
protectedvirtual

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

Parameters
disposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.

◆ Sign()

byte[] NATS.Client.NkeyPair.Sign ( byte[]  src)

Signs data and returns a signature.

Parameters
src
Returns
The signature.

The documentation for this class was generated from the following file: