| Modifier and Type | Field and Description |
|---|---|
Signature.PublicKey |
publicKey |
Signature.SecretKey |
secretKey |
| Modifier and Type | Method and Description |
|---|---|
static Signature.KeyPair |
deterministic(net.openhft.chronicle.bytes.BytesStore seed)
Generate deterministic public/private key pair from BytesStore accessing full 32 seed bytes
|
static Signature.KeyPair |
deterministic(long id)
Generate deterministic public/private key pair from simple long id (which only uses 8 out of 32 seed bytes)
|
static Signature.KeyPair |
generate()
Generate random public/private key pair
|
void |
wipe()
safely wipe the memory backing the secret part of this key pair when finished
|
public final Signature.PublicKey publicKey
public final Signature.SecretKey secretKey
public static Signature.KeyPair generate()
public static Signature.KeyPair deterministic(long id)
id - - deterministic seedpublic static Signature.KeyPair deterministic(net.openhft.chronicle.bytes.BytesStore seed)
seed - - deterministic BytesStore seed, which should be at least 32 bytespublic void wipe()
Copyright © 2023. All rights reserved.