mockdiddoc

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMockDIDDoc

func GetMockDIDDoc(t *testing.T) *did.Doc

GetMockDIDDoc creates a mock DID Doc for testing.

func GetMockDIDDocWithDIDCommV2Bloc added in v0.1.7

func GetMockDIDDocWithDIDCommV2Bloc(t *testing.T, id string) *did.Doc

GetMockDIDDocWithDIDCommV2Bloc using a DIDComm V2 service bloc.

func GetMockDIDDocWithKeyAgreements added in v0.1.7

func GetMockDIDDocWithKeyAgreements(t *testing.T) *did.Doc

GetMockDIDDocWithKeyAgreements creates mock DID doc with KeyAgreements.

func GetMockIndyDoc added in v0.1.7

func GetMockIndyDoc(t *testing.T) *did.Doc

GetMockIndyDoc creates a mock DID Doc for testing.

func MockDIDKey added in v0.1.6

func MockDIDKey(t *testing.T) string

MockDIDKey returns a new did:key DID for testing purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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