mockdiddoc

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLegacyInteropMockDIDDoc added in v0.1.8

func GetLegacyInteropMockDIDDoc(t *testing.T, id string, ed25519PubKey []byte) *did.Doc

GetLegacyInteropMockDIDDoc creates a mock did doc for testing legacy interop didcomm.

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