integration

package
v0.0.0-...-0fc66b4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 22 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 BatchCreateDIDKeys

func BatchCreateDIDKeys() (string, error)

func BatchCreateVerifiableCredentials

func BatchCreateVerifiableCredentials(credentialInput batchCredInputParams) (string, error)

func BatchUpdateVerifiableCredentialStatuses

func BatchUpdateVerifiableCredentialStatuses(updateStatusInput batchUpdateStatusInputParams) (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 CreateDIDConfigurationResource

func CreateDIDConfigurationResource(params didConfigurationResourceParams) (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 CreatePresentationRequest

func CreatePresentationRequest(params presentationRequestParams) (string, error)

func CreateSubmission

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

func CreateSubmissionCredential

func CreateSubmissionCredential(params credInputParams) (string, error)

func CreateSubmissionWithExternalCredential

func CreateSubmissionWithExternalCredential(params submissionParams) (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)

func UpdateDIDION

func UpdateDIDION(id string) (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