package
6.0.0-beta.10+incompatible
Repository: https://github.com/nuts-foundation/nuts-node.git
Documentation: pkg.go.dev

# Functions

GenerateAndStore generates a new key pair and stores it in the provided storage.
GenerateKeyPair generates a new key pair using the default key type.
NewMockStorage creates a new mock instance.
NewValidatedKIDBackendWrapper creates a new wrapper for storage backends.

# Variables

ErrKeyAlreadyExists indicates that a private key for this keyID already exists.
ErrNotFound indicates that the specified crypto storage entry couldn't be found.
KidPattern is the regexp for acceptable kids.

# Structs

KeyNameVersion contains a key name and version.
MockStorage is a mock of Storage interface.
MockStorageMockRecorder is the mock recorder for MockStorage.
PublicKeyEntry is a public key entry also containing the period it's valid for.

# Interfaces

Storage interface containing functions for storing and retrieving keys.