public final class AttestSgxEnclaveRequest extends Object
Constructor and Description |
---|
AttestSgxEnclaveRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDraftPolicyForAttestation()
Get the draftPolicyForAttestation property: Attest against the provided draft policy.
|
InitTimeData |
getInitTimeData()
Get the initTimeData property: Initialization data provided when the enclave is created.
|
byte[] |
getQuote()
Get the quote property: Quote of the enclave to be attested.
|
RuntimeData |
getRuntimeData()
Get the runtimeData property: Runtime data provided by the enclave at the time of quote generation.
|
AttestSgxEnclaveRequest |
setDraftPolicyForAttestation(String draftPolicyForAttestation)
Set the draftPolicyForAttestation property: Attest against the provided draft policy.
|
AttestSgxEnclaveRequest |
setInitTimeData(InitTimeData initTimeData)
Set the initTimeData property: Initialization data provided when the enclave is created.
|
AttestSgxEnclaveRequest |
setQuote(byte[] quote)
Set the quote property: Quote of the enclave to be attested.
|
AttestSgxEnclaveRequest |
setRuntimeData(RuntimeData runtimeData)
Set the runtimeData property: Runtime data provided by the enclave at the time of quote generation.
|
void |
validate()
Validates the instance.
|
public byte[] getQuote()
public AttestSgxEnclaveRequest setQuote(byte[] quote)
quote
- the quote value to set.public RuntimeData getRuntimeData()
public AttestSgxEnclaveRequest setRuntimeData(RuntimeData runtimeData)
runtimeData
- the runtimeData value to set.public InitTimeData getInitTimeData()
public AttestSgxEnclaveRequest setInitTimeData(InitTimeData initTimeData)
initTimeData
- the initTimeData value to set.public String getDraftPolicyForAttestation()
public AttestSgxEnclaveRequest setDraftPolicyForAttestation(String draftPolicyForAttestation)
draftPolicyForAttestation
- the draftPolicyForAttestation value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.