Documentation ¶
Index ¶
- Constants
- func BatchCreate100VerifiableCredentials(credentialInput credInputParams) (string, error)
- func BatchCreateVerifiableCredentials(credentialInput batchCredInputParams) (string, error)
- func CreateCredentialApplicationJWT(credApplication credApplicationParams, ...) (string, error)
- func CreateCredentialManifest(credManifest credManifestParams) (string, error)
- func CreateDIDION() (string, error)
- func CreateDIDKey() (string, error)
- func CreateDIDWeb() (string, error)
- func CreateIssuanceTemplate(params issuanceTemplateParams) (string, error)
- func CreateKYCSchema() (string, error)
- func CreatePresentationDefinition(params definitionParams) (string, error)
- func CreateSubmission(params submissionParams, holderPrivateKey gocrypto.PrivateKey) (string, error)
- func CreateSubmissionCredential(params credInputParams) (string, error)
- func CreateVerifiableCredential(credentialInput credInputParams) (string, error)
- func GetValue(ctx *TestContext, key string) (any, error)
- func ListWebDIDs() (string, error)
- func ResolveDID(did string) (string, error)
- func ReviewApplication(params reviewApplicationParams) (string, error)
- func ReviewSubmission(id string) (string, error)
- func SetValue(ctx *TestContext, key string, value any)
- func SubmitApplication(app applicationParams) (string, error)
- type TestContext
Constants ¶
View Source
const (
MaxElapsedTime = 120 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func CreateCredentialApplicationJWT ¶
func CreateCredentialApplicationJWT(credApplication credApplicationParams, credentialJWT, aliceDID, aliceKID string, aliceDIDPrivateKey gocrypto.PrivateKey) (string, error)
func CreateDIDION ¶
func CreateDIDKey ¶
func CreateDIDWeb ¶
func CreateIssuanceTemplate ¶
func CreateKYCSchema ¶
func CreateSubmission ¶
func CreateSubmission(params submissionParams, holderPrivateKey gocrypto.PrivateKey) (string, error)
func GetValue ¶
func GetValue(ctx *TestContext, key string) (any, error)
GetValue retrieves a value from the test context.
func ListWebDIDs ¶
func ResolveDID ¶
func ReviewApplication ¶
func ReviewSubmission ¶
func SetValue ¶
func SetValue(ctx *TestContext, key string, value any)
SetValue sets a value in the test context.
func SubmitApplication ¶
Types ¶
type TestContext ¶
type TestContext struct {
// contains filtered or unexported fields
}
func NewTestContext ¶
func NewTestContext(testName string) *TestContext
Click to show internal directories.
Click to hide internal directories.