Documentation
¶
Index ¶
Constants ¶
View Source
const (
// UpdateKeyID is the ID of the public key within the document that is used for signature verification of updates
UpdateKeyID = "updatePublicKey"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DIDResolution ¶
type DIDResolution struct {
Context interface{} `json:"@context"`
DIDDocument json.RawMessage `json:"didDocument"`
ResolverMetadata json.RawMessage `json:"resolverMetadata"`
MethodMetadata json.RawMessage `json:"methodMetadata"`
}
DIDResolution did resolution
type FileIndex ¶
type FileIndex struct {
BasePath string `json:"basePath"`
Mappings map[string]string `json:"mappings,omitempty"`
}
FileIndex contains the mappings of file name to ID
type FileIndexDoc ¶
type FileIndexDoc struct {
ID string `json:"id"`
UniqueSuffix string `json:"did_suffix"`
FileIndex FileIndex `json:"fileIndex"`
}
FileIndexDoc contains a file index document
Click to show internal directories.
Click to hide internal directories.