Documentation ¶
Rendered for js/wasm
Index ¶
- Constants
- func DeserializeDIDDoc(jsDIDDoc js.Value) (*did.DocResolution, error)
- func SerializeCredential(cred *verifiable.Credential) (any, error)
- func SerializeCredentialArray(creds []*verifiable.Credential) ([]any, error)
- func SerializeDIDDoc(didDoc *did.DocResolution) (map[string]interface{}, error)
- func SerializeMatchedSubmissionRequirement(req *presexch.MatchedSubmissionRequirement) (any, error)
- func SerializeOpenID4CIIssuerInitiatedInteraction(agentMethodsRunner *jssupport.AsyncRunner, ...) map[string]interface{}
- func SerializeOpenID4VPInteraction(agentMethodsRunner *jssupport.AsyncRunner, ...) map[string]interface{}
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.
Click to show internal directories.
Click to hide internal directories.