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

# Functions

NewMockWriter creates a new mock instance.

# Constants

RevocationLDDocumentType holds the content type used in network documents which contain Revocation messages of credentials in JSON-LD form.
VcDocumentType holds the content type used in network documents which contain Verifiable Credentials.

# Variables

ErrCredentialNotValidAtTime is returned when the credential is not valid at the given time.
ErrInvalidCredential is returned when validation failed.
ErrMultipleFound is returned when multiple credentials or revocations are found for the same ID.
ErrNotFound is returned when a credential can not be found based on its ID.
ErrPresentationNotValidAtTime is returned when the presentation is not valid at the given time.
ErrRevoked is returned when a credential has been revoked and the required action requires it to not be revoked.
ErrStatusNotFound is returned when the credential does not contain the desired credential status.
ErrUntrusted is returned when a credential is resolved or searched but its issuer is not trusted.

# Structs

MockWriter is a mock of Writer interface.
MockWriterMockRecorder is the mock recorder for MockWriter.

# Interfaces

Writer is the interface that groups al the VC write methods.