Versions in this module Expand all Collapse all v0 v0.1.0 May 23, 2023 Changes in this version + const DIDJSON + const DIDJSONLD + const DIDSchemaJSONLD + const Ed25519VerificationKey2018JSONLD + const Ed25519VerificationKey2020JSONLD + const JSON + const JSONLD + const JsonWebKey2020JSONLD + const ResolutionSchemaJSONLD + var ErrUnauthorized = errors.New("unauthorized") + var ErrUnauthorizedNoSignature = errors.New("unauthorized, no signature") + type ContentType string + type DIDDocument struct + AlsoKnownAs []string + AssertionMethod []string + Authentication []string + CapabilityDelegation []string + CapabilityInvocation []string + Context []string + Controller []string + ID string + KeyAgreement []string + Metadata Metadata + MetadataHistory asset.DataArrayVersions + Service []Service + VerificationMethod []VerificationMethod + func NewDIDDoc() DIDDocument + type Metadata struct + Objects []asset.Object + RootHash string + VersionHash string + VersionID int + type RegisterDID struct + Authentication []string + DID string + Service []Service + VerificationMethod []VerificationMethod + type SaveMetadata struct + Objects []asset.Object + Signature string + type Service struct + Context []string + ID string + ServiceEndpoint []string + Type string + type VerificationMethod struct + Context []string + Controller string + ID string + PublicKeyBase58 string + PublicKeyJwk interface{} + PublicKeyMultibase string + Type string