Documentation
¶
Index ¶
- func ComputeEnclaveIdentity(bnd *bundle.Bundle, compID string) ([]sgx.EnclaveIdentity, error)
- func LoadManifestAndSetNPA(cfg *config.Config, npa *common.NPASelection, deployment string, ...) (*rofl.Manifest, *rofl.Deployment)
- func MaybeLoadManifestAndSetNPA(cfg *config.Config, npa *common.NPASelection, deployment string) (*rofl.Manifest, *rofl.Deployment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeEnclaveIdentity ¶
ComputeEnclaveIdentity computes the enclave identity of the given ROFL components. If no specific component ID is passed, it uses the first ROFL component.
func LoadManifestAndSetNPA ¶
func LoadManifestAndSetNPA(cfg *config.Config, npa *common.NPASelection, deployment string, needAppID bool) (*rofl.Manifest, *rofl.Deployment)
LoadManifestAndSetNPA loads the ROFL app manifest and reconfigures the network/paratime/account selection.
In case there is an error in loading the manifest, it aborts the application.
func MaybeLoadManifestAndSetNPA ¶
func MaybeLoadManifestAndSetNPA(cfg *config.Config, npa *common.NPASelection, deployment string) (*rofl.Manifest, *rofl.Deployment, error)
MaybeLoadManifestAndSetNPA loads the ROFL app manifest and reconfigures the network/paratime/account selection.
In case there is an error in loading the manifest, it is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.