parsing

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCredential

func ToCredential(genericCred any) (jws.Headers, jwt.Token, *credential.VerifiableCredential, error)

ToCredential turn a generic cred into its known object model

func ToCredentialJSONMap

func ToCredentialJSONMap(genericCred any) (map[string]any, error)

ToCredentialJSONMap turn a generic cred into a JSON object

func VCJWTJSONToVC

func VCJWTJSONToVC(vcJWTJSON []byte) (jws.Headers, jwt.Token, *credential.VerifiableCredential, error)

VCJWTJSONToVC converts a JSON representation of a VC JWT into a VerifiableCredential

Types

This section is empty.

Jump to

Keyboard shortcuts

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