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

# Packages

Package didstore is a generated GoMock package.
No description provided by the author

# Functions

CreateDocument creates an empty DID document with baseline properties set.
CreateNewVerificationMethodForDID creates a new VerificationMethod of type JsonWebKey2020 with a freshly generated key for a given DID.
DefaultKeyFlags returns the default DIDKeyFlags when creating did:nuts DIDs.
DIDKIDNamingFunc is a function used to name a key used in newly generated DID Documents.
ManagedDocumentValidator extends NetworkDocumentValidator with extra safety checks to be performed on DID documents managed by this node before they are published on the network.
NetworkDocumentValidator creates a DID Document validator that checks for inconsistencies in the DID Document: - validate it according to the W3C DID Core Data Model specification - validate it according to the Nuts DID Method specification: - it checks validationMethods for the following conditions: - every validationMethod id must have a fragment - every validationMethod id should have the DID prefix - every validationMethod id must be unique - it checks services for the following conditions: - every service id must have a fragment - every service id should have the DID prefix - every service id must be unique - every service type must be unique.
NewAmbassador creates a new Ambassador,.
NewManager creates a new Manager instance.
NewMockAmbassador creates a new mock instance.
ResolveControllers finds the DID Document controllers.

# Constants

DIDDocumentType contains network transaction mime-type to identify a DID Document in the network.
MethodName is the DID method name used by Nuts.

# Variables

ErrNestedDocumentsTooDeep is returned when a DID Document contains a multiple services with the same type.
ErrThumbprintMismatch is returned when a transaction publishing a new DID is signed with a different key than the DID is generated from.

# Structs

No description provided by the author
No description provided by the author
MockAmbassador is a mock of Ambassador interface.
MockAmbassadorMockRecorder is the mock recorder for MockAmbassador.
Resolver implements the DIDResolver interface for resolving did:nuts documents.

# Interfaces

Ambassador acts as integration point between VDR and network by sending DID Documents network and process DID Documents received through the network.