package
0.14.0
Repository: https://github.com/nuts-foundation/go-did.git
Documentation: pkg.go.dev

# Functions

CreateJWTVerifiableCredential creates a JWT Verifiable Credential from the given credential template.
ParseVerifiableCredential parses a Verifiable Credential from a string, which can be either in JSON-LD or JWT format.
ParseVerifiablePresentation parses a Verifiable Presentation from a string, which can be either in JSON-LD or JWT format.
VCContextV1URI returns 'https://www.w3.org/2018/credentials/v1' as URI.
VerifiableCredentialTypeV1URI returns VerifiableCredential as URI.
VerifiablePresentationTypeV1URI returns VerifiablePresentation as URI.

# Constants

JSONLDCredentialProofFormat is the format for JSON-LD based credentials.
JSONLDPresentationProofFormat is the format for JSON-LD based presentations.
JWTCredentialProofFormat is the format for JWT based credentials.
JWTPresentationProofFormat is the format for JWT based presentations.
VCContextV1 is the context required for every credential and presentation.
VerifiableCredentialType is the default credential type required for every credential.
VerifiablePresentationType is the default credential type required for every credential.

# Structs

CredentialStatus contains the required fields ID and Type, and the raw data for unmarshalling into a custom type.
JSONWebSignature2020Proof is a VC proof with a signature according to JsonWebSignature2020.
Proof represents a credential/presentation proof as defined by the Linked Data Proofs 1.0 specification (https://w3c-ccg.github.io/ld-proofs/).
VerifiableCredential represents a credential as defined by the Verifiable Credentials Data Model 1.0 specification (https://www.w3.org/TR/vc-data-model/).
VerifiablePresentation represents a presentation as defined by the Verifiable Credentials Data Model 1.0 specification (https://www.w3.org/TR/vc-data-model/).

# Type aliases

No description provided by the author