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.