mockdiddoc

package
v0.0.0-...-57c6170 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLegacyInteropMockDIDDoc

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, isDIDCommV2 bool) *did.Doc

GetMockDIDDoc creates a mock DID Doc for testing.

func GetMockDIDDocWithDIDCommV2Bloc

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

GetMockDIDDocWithDIDCommV2Bloc using a DIDComm V2 service bloc.

func GetMockDIDDocWithKeyAgreements

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

GetMockDIDDocWithKeyAgreements creates mock DID doc with KeyAgreements.

func GetMockIndyDoc

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

GetMockIndyDoc creates a mock DID Doc for testing.

func MockDIDKey

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