integration

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxElapsedTime = 120 * time.Second
)

Variables

This section is empty.

Functions

func BatchCreate100VerifiableCredentials

func BatchCreate100VerifiableCredentials(credentialInput credInputParams) (string, error)

func BatchCreateVerifiableCredentials

func BatchCreateVerifiableCredentials(credentialInput batchCredInputParams) (string, error)

func CreateCredentialApplicationJWT

func CreateCredentialApplicationJWT(credApplication credApplicationParams, credentialJWT, aliceDID, aliceKID string, aliceDIDPrivateKey gocrypto.PrivateKey) (string, error)

func CreateCredentialManifest

func CreateCredentialManifest(credManifest credManifestParams) (string, error)

func CreateDIDION

func CreateDIDION() (string, error)

func CreateDIDKey

func CreateDIDKey() (string, error)

func CreateDIDWeb

func CreateDIDWeb() (string, error)

func CreateIssuanceTemplate

func CreateIssuanceTemplate(params issuanceTemplateParams) (string, error)

func CreateKYCSchema

func CreateKYCSchema() (string, error)

func CreatePresentationDefinition

func CreatePresentationDefinition(params definitionParams) (string, error)

func CreateSubmission

func CreateSubmission(params submissionParams, holderPrivateKey gocrypto.PrivateKey) (string, error)

func CreateSubmissionCredential

func CreateSubmissionCredential(params credInputParams) (string, error)

func CreateVerifiableCredential

func CreateVerifiableCredential(credentialInput credInputParams) (string, error)

func GetValue

func GetValue(ctx *TestContext, key string) (any, error)

GetValue retrieves a value from the test context.

func ListWebDIDs

func ListWebDIDs() (string, error)

func ResolveDID

func ResolveDID(did string) (string, error)

func ReviewApplication

func ReviewApplication(params reviewApplicationParams) (string, error)

func ReviewSubmission

func ReviewSubmission(id string) (string, error)

func SetValue

func SetValue(ctx *TestContext, key string, value any)

SetValue sets a value in the test context.

func SubmitApplication

func SubmitApplication(app applicationParams) (string, error)

Types

type TestContext

type TestContext struct {
	// contains filtered or unexported fields
}

func NewTestContext

func NewTestContext(testName string) *TestContext

Jump to

Keyboard shortcuts

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