Nkeys is a class provided to manipulate Nkeys and generate NkeyPairs.
◆ CreateAccountSeed()
static string NATS.Client.Nkeys.CreateAccountSeed |
( |
| ) |
|
|
static |
Creates a private account seed string.
- Returns
- A NATS Ed25519 Account Seed
◆ CreateOperatorSeed()
static string NATS.Client.Nkeys.CreateOperatorSeed |
( |
| ) |
|
|
static |
Creates a private operator seed string.
- Returns
- A NATS Ed25519 Operator Seed
◆ CreateUserSeed()
static string NATS.Client.Nkeys.CreateUserSeed |
( |
| ) |
|
|
static |
Creates a private user seed string.
- Returns
- A NATS Ed25519 User Seed
◆ Decode()
static byte[] NATS.Client.Nkeys.Decode |
( |
string |
src | ) |
|
|
static |
Decodes a base 32 encoded NKey into a nkey seed and verifies the checksum.
- Parameters
-
- Returns
◆ FromSeed()
static NkeyPair NATS.Client.Nkeys.FromSeed |
( |
string |
seed | ) |
|
|
static |
Creates an NkeyPair from a private seed string.
- Parameters
-
- Returns
- A NATS Ed25519 Keypair
◆ PublicKeyFromSeed()
static string NATS.Client.Nkeys.PublicKeyFromSeed |
( |
string |
seed | ) |
|
|
static |
Returns a seed's public key.
- Parameters
-
- Returns
- A the public key corresponding to Seed
◆ Wipe() [1/2]
static void NATS.Client.Nkeys.Wipe |
( |
ref byte[] |
src | ) |
|
|
static |
Wipes a byte array.
- Parameters
-
◆ Wipe() [2/2]
static void NATS.Client.Nkeys.Wipe |
( |
string |
src | ) |
|
|
static |
Wipes a string.
- Parameters
-
The documentation for this class was generated from the following file: