Package version:

Interface AttestSgxEnclaveOptions

Optional parameters for the AttestSgxEnclave API.

data provided at the time the enclave was initialized.

data provided at the time the SGX quote being attested was created.

If specified, the attestation policy to be used during the attestation request.

interface AttestSgxEnclaveOptions {
    abortSignal?: AbortSignalLike;
    draftPolicyForAttestation?: string;
    initTimeData?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob;
    initTimeJson?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob;
    onResponse?: RawResponseCallback;
    requestOptions?: OperationRequestOptions;
    runTimeData?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob;
    runTimeJson?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob;
    serializerOptions?: SerializerOptions;
    tracingOptions?: OperationTracingOptions;
    validationOptions?: AttestationTokenValidationOptions;
}

Hierarchy (View Summary)

Index
abortSignal?: AbortSignalLike

The signal which can be used to abort requests.

draftPolicyForAttestation?: string

draftPolicyForAttestation - If specified, the attestation policy to be used during the attestation request.

initTimeData?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob

initTimeData : data provided at the time the enclave was initialized, to be interpreted as binary data.

initTimeJson?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob

inittimeJson : data provided at the time the enclave was initialized, to be interpreted as JSON data.

onResponse?: RawResponseCallback

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions?: OperationRequestOptions

Options used when creating and sending HTTP requests for this operation.

runTimeData?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob

runTimeData - data provided at the time the OpenEnclave report being attested was created to be interpreted as binary data.

runTimeJson?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike> | Blob

runTimeJson - data provided at the time the OpenEnclave report being attested was created to be interpreted as JSON data.

serializerOptions?: SerializerOptions

Options to override serialization/de-serialization behavior.

tracingOptions?: OperationTracingOptions

Options used when tracing is enabled.

Validation options to be used to validate attestation tokens received from the attestation service for the individual operation. Options set here override the same options set on the client; other client options still apply.