makemockdoc

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultKID the KID of the mock doc's verification method.
	DefaultKID = "#key-1"
)

Variables

This section is empty.

Functions

func MakeMockDoc

func MakeMockDoc(t *testing.T, keyManager kms.KeyManager, docDID string, keyType kms.KeyType) *did.Doc

MakeMockDoc creates a key in the given KMS and returns a mock DID Doc with a verification method using the given key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL