types

package
v0.0.0-...-37de81a Latest Latest
Warning

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

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

Documentation

Rendered for js/wasm

Index

Constants

View Source
const (
	DIDDocIDFld      = "id"
	DIDDocContentFld = "content"
)

Variables

This section is empty.

Functions

func DeserializeDIDDoc

func DeserializeDIDDoc(jsDIDDoc js.Value) (*did.DocResolution, error)

func SerializeCredential

func SerializeCredential(cred *verifiable.Credential) (any, error)

func SerializeCredentialArray

func SerializeCredentialArray(creds []*verifiable.Credential) ([]any, error)

func SerializeDIDDoc

func SerializeDIDDoc(didDoc *did.DocResolution) (map[string]interface{}, error)

func SerializeMatchedSubmissionRequirement

func SerializeMatchedSubmissionRequirement(req *presexch.MatchedSubmissionRequirement) (any, error)

func SerializeOpenID4CIIssuerInitiatedInteraction

func SerializeOpenID4CIIssuerInitiatedInteraction(agentMethodsRunner *jssupport.AsyncRunner,
	interaction *walletsdk.OpenID4CIIssuerInitiatedInteraction,
) map[string]interface{}

func SerializeOpenID4VPInteraction

func SerializeOpenID4VPInteraction(agentMethodsRunner *jssupport.AsyncRunner,
	interaction *walletsdk.OpenID4VPInteraction,
) map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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