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.
Click to show internal directories.
Click to hide internal directories.