ssi

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCredentialStatus

func GenerateCredentialStatus(keyPair testcrypto.IKeyPair, issuerId string) *types.CredentialStatusDocument

func GenerateDidDoc

func GenerateDidDoc(keyPair testcrypto.IKeyPair) *types.DidDocument

func GenerateRegisterCredStatusRPCElements

func GenerateRegisterCredStatusRPCElements(keyPair testcrypto.IKeyPair, credentialStatus *types.CredentialStatusDocument, verficationMethod *types.VerificationMethod) *types.MsgRegisterCredentialStatus

func GenerateSchema

func GenerateSchema(keyPair testcrypto.IKeyPair, authorId string) *types.CredentialSchemaDocument

func GenerateSchemaRPCElements

func GenerateSchemaRPCElements(keyPair testcrypto.IKeyPair, credentialSchema *types.CredentialSchemaDocument, verficationMethod *types.VerificationMethod) *types.MsgRegisterCredentialSchema

func GenerateUpdateCredStatusRPCElements

func GenerateUpdateCredStatusRPCElements(keyPair testcrypto.IKeyPair, credentialStatus *types.CredentialStatusDocument, verficationMethod *types.VerificationMethod) *types.MsgUpdateCredentialStatus

func GetContextFromKeyPair

func GetContextFromKeyPair(kp testcrypto.IKeyPair) string

func GetDeactivateDidDocumentRPC

func GetDeactivateDidDocumentRPC(
	k *keeper.Keeper,
	ctx sdk.Context,
	didDocument *types.DidDocument,
	keyPairs []testcrypto.IKeyPair,
) *types.MsgDeactivateDID

func GetRegisterDidDocumentRPC

func GetRegisterDidDocumentRPC(
	didDocument *types.DidDocument,
	keyPairs []testcrypto.IKeyPair,
) *types.MsgRegisterDID

func GetUpdateDidDocumentRPC

func GetUpdateDidDocumentRPC(
	k *keeper.Keeper,
	ctx sdk.Context,
	didDocument *types.DidDocument,
	keyPairs []testcrypto.IKeyPair,
) *types.MsgUpdateDID

func QueryDid

func QueryDid(k *keeper.Keeper, ctx sdk.Context, Id string) *types.DidDocumentState

Types

This section is empty.

Jump to

Keyboard shortcuts

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