Versions in this module Expand all Collapse all v0 v0.25.0 Dec 16, 2024 Changes in this version + const DNSLabelAlsoKnownAs + const DNSLabelController + const DNSLabelService + const DNSLabelVerificationMethod + const PurposeAssertionMethod + const PurposeAuthentication + const PurposeCapabilityDeletion + const PurposeCapabilityInvocation + const PurposeKeyAgreement + func MarshalDIDDocument(d *didcore.Document) ([]byte, error) + func MarshalService(dhtDNSkey string, s didcore.Service, msg *dnsmessage.Message) error + func MarshalVerificationMethod(vm *didcore.VerificationMethod) (string, error) + func UnmarshalDIDDocument(payload []byte) (*didcore.Document, error) + func UnmarshalService(data string, s *didcore.Service) error + func UnmarshalVerificationMethod(data string, did string, vm *didcore.VerificationMethod) error