context

package
v0.0.0-...-b6fb190 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BDDContext

type BDDContext struct {
	EDVClient                  *edvclient.Client
	VaultID                    string
	JWEDecrypter               *jose.JWEDecrypt
	StructuredDocToBeEncrypted *models.StructuredDocument
	EncryptedDocToStore        *models.EncryptedDocument
	ReceivedEncryptedDoc       *models.EncryptedDocument
	TLSConfig                  *tls.Config
	Capability                 *zcapld.Capability
	KeyManager                 kms.KeyManager
	Crypto                     cryptoapi.Crypto
}

BDDContext is a global context shared between different test suites in bddtests

func NewBDDContext

func NewBDDContext(caCertPaths string) (*BDDContext, error)

NewBDDContext creates a new BDDContext

type BDDInteropContext

type BDDInteropContext struct {
	TrustBlocEDVHostURL        string
	TrustBlocEDVClient         *edvclient.Client
	TrustBlocEDVDataVaultID    string
	TrustBlocDataVaultLocation string
	TransmuteEDVHostURL        string
	TransmuteEDVClient         *edvclient.Client
	TransmuteDataVaultID       string
	TransmuteDataVaultLocation string
	DataVaultConfig            *models.DataVaultConfiguration
	SampleDocToStore           *models.EncryptedDocument
	SampleDocForUpdate         *models.EncryptedDocument
	Capability                 *zcapld.Capability
	KeyManager                 kms.KeyManager
	Crypto                     cryptoapi.Crypto
	VerificationMethod         string
}

BDDInteropContext is a global context shared between different interop test suites in bddtests

func NewBDDInteropContext

func NewBDDInteropContext() (*BDDInteropContext, error)

NewBDDInteropContext creates a new BDDInteropContext.

type DIDOwner

type DIDOwner struct {
	DID        string
	KeyID      string
	PrivateKey *jwk.JWK
}

DIDOwner defines parameters of a DID owner.

Jump to

Keyboard shortcuts

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