Struct enclave_runner::EnclaveBuilder[][src]

pub struct EnclaveBuilder<'a> { /* fields omitted */ }

Implementations

Use custom implemetations of SgxHashOps and SgxRsaOps for producing dummy signature.

The hasher is specified through type parameter H, and the signer through S. load_key is used to parse an RSA private key in DER format and should return a type T that implements AsRef<S> where S is a type that implements SgxRsaOps. E is the associated Error type of S when implementing SgxRsaOps.

Whether to panic the runner if any enclave thread panics. Defaults to false. Note: If multiple enclaves are loaded, and an enclave with this set to true panics, then all enclaves handled by this runner will exit because the runner itself will panic.

Adds multiple arguments to pass to enclave’s fn main. NOTE: This is not an appropriate channel for passing secrets or security configurations to the enclave.

NOTE: This is only applicable to Command enclaves. Adding command arguments and then calling build_library will cause a panic.

Adds an argument to pass to enclave’s fn main. NOTE: This is not an appropriate channel for passing secrets or security configurations to the enclave.

NOTE: This is only applicable to Command enclaves. Adding command arguments and then calling build_library will cause a panic.

Panics if you have previously called arg or args.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.