public final class AttestOpenEnclaveRequest extends Object
Constructor and Description |
---|
AttestOpenEnclaveRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDraftPolicyForAttestation()
Get the draftPolicyForAttestation property: Attest against the provided draft policy.
|
InitTimeData |
getInitTimeData()
Get the initTimeData property: Base64Url encoded "InitTime data".
|
byte[] |
getReport()
Get the report property: OpenEnclave report from the enclave to be attested.
|
RuntimeData |
getRuntimeData()
Get the runtimeData property: Runtime data provided by the enclave at the time of report generation.
|
AttestOpenEnclaveRequest |
setDraftPolicyForAttestation(String draftPolicyForAttestation)
Set the draftPolicyForAttestation property: Attest against the provided draft policy.
|
AttestOpenEnclaveRequest |
setInitTimeData(InitTimeData initTimeData)
Set the initTimeData property: Base64Url encoded "InitTime data".
|
AttestOpenEnclaveRequest |
setReport(byte[] report)
Set the report property: OpenEnclave report from the enclave to be attested.
|
AttestOpenEnclaveRequest |
setRuntimeData(RuntimeData runtimeData)
Set the runtimeData property: Runtime data provided by the enclave at the time of report generation.
|
void |
validate()
Validates the instance.
|
public byte[] getReport()
public AttestOpenEnclaveRequest setReport(byte[] report)
report
- the report value to set.public RuntimeData getRuntimeData()
public AttestOpenEnclaveRequest setRuntimeData(RuntimeData runtimeData)
runtimeData
- the runtimeData value to set.public InitTimeData getInitTimeData()
public AttestOpenEnclaveRequest setInitTimeData(InitTimeData initTimeData)
initTimeData
- the initTimeData value to set.public String getDraftPolicyForAttestation()
public AttestOpenEnclaveRequest 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.