public final class AttestationResult extends Object
Constructor and Description |
---|
AttestationResult() |
Modifier and Type | Method and Description |
---|---|
Object |
getCnf()
Get the cnf property: An RFC 7800 Proof of Possession Key.
|
byte[] |
getDeprecatedEnclaveHeldData()
Get the deprecatedEnclaveHeldData property: DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.
|
byte[] |
getDeprecatedEnclaveHeldData2()
Get the deprecatedEnclaveHeldData2 property: DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.
|
String |
getDeprecatedMrEnclave()
Get the deprecatedMrEnclave property: DEPRECATED: Private Preview version of x-ms-sgx-mrenclave.
|
String |
getDeprecatedMrSigner()
Get the deprecatedMrSigner property: DEPRECATED: Private Preview version of x-ms-sgx-mrsigner.
|
byte[] |
getDeprecatedPolicyHash()
Get the deprecatedPolicyHash property: DEPRECATED: Private Preview version of x-ms-policy-hash.
|
JsonWebKey |
getDeprecatedPolicySigner()
Get the deprecatedPolicySigner property: DEPRECATED: Private Preview version of x-ms-policy-signer.
|
Float |
getDeprecatedProductId()
Get the deprecatedProductId property: DEPRECATED: Private Preview version of x-ms-sgx-product-id.
|
String |
getDeprecatedRpData()
Get the deprecatedRpData property: DEPRECATED: Private Preview version of nonce.
|
Object |
getDeprecatedSgxCollateral()
Get the deprecatedSgxCollateral property: DEPRECATED: Private Preview version of x-ms-sgx-collateral claim.
|
Float |
getDeprecatedSvn()
Get the deprecatedSvn property: DEPRECATED: Private Preview version of x-ms-sgx-svn.
|
String |
getDeprecatedTee()
Get the deprecatedTee property: DEPRECATED: Private Preview version of x-ms-tee.
|
String |
getDeprecatedVersion()
Get the deprecatedVersion property: DEPRECATED: Private Preview version of x-ms-ver claim.
|
byte[] |
getEnclaveHeldData()
Get the enclaveHeldData property: A copy of the RuntimeData specified as an input to the attest call.
|
Float |
getExp()
Get the exp property: The expiration time after which the token is no longer valid, in the number of seconds
since 1970-01-0T00:00:00Z UTC.
|
Float |
getIat()
Get the iat property: The time at which the token was issued, in the number of seconds since 1970-01-0T00:00:00Z
UTC.
|
Object |
getInittimeClaims()
Get the inittimeClaims property: Inittime Claims.
|
String |
getIss()
Get the iss property: The Principal who issued the token.
|
String |
getJti()
Get the jti property: Unique Identifier for the token.
|
String |
getMrEnclave()
Get the mrEnclave property: The HEX encoded SGX MRENCLAVE value for the enclave.
|
String |
getMrSigner()
Get the mrSigner property: The HEX encoded SGX MRSIGNER value for the enclave.
|
Float |
getNbf()
Get the nbf property: The not before time before which the token cannot be considered valid, in the number of
seconds since 1970-01-0T00:00:00Z UTC.
|
String |
getNonce()
Get the nonce property: The Nonce input to the attestation request, if provided.
|
Object |
getPolicyClaims()
Get the policyClaims property: Policy Generated Claims.
|
byte[] |
getPolicyHash()
Get the policyHash property: The SHA256 hash of the BASE64URL encoded policy text used for attestation.
|
JsonWebKey |
getPolicySigner()
Get the policySigner property: The certificate used to sign the policy object, if specified.
|
Float |
getProductId()
Get the productId property: The SGX Product ID for the enclave.
|
Object |
getRuntimeClaims()
Get the runtimeClaims property: Runtime Claims.
|
Object |
getSgxCollateral()
Get the sgxCollateral property: The SGX SVN value for the enclave.
|
Float |
getSvn()
Get the svn property: The SGX SVN value for the enclave.
|
String |
getVerifierType()
Get the verifierType property: The Attestation type being attested.
|
String |
getVersion()
Get the version property: The Schema version of this structure.
|
Boolean |
isDebuggable()
Get the isDebuggable property: True if the enclave is debuggable, false otherwise.
|
Boolean |
isDeprecatedIsDebuggable()
Get the deprecatedIsDebuggable property: DEPRECATED: Private Preview version of x-ms-sgx-is-debuggable claim.
|
AttestationResult |
setCnf(Object cnf)
Set the cnf property: An RFC 7800 Proof of Possession Key.
|
AttestationResult |
setDeprecatedEnclaveHeldData(byte[] deprecatedEnclaveHeldData)
Set the deprecatedEnclaveHeldData property: DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.
|
AttestationResult |
setDeprecatedEnclaveHeldData2(byte[] deprecatedEnclaveHeldData2)
Set the deprecatedEnclaveHeldData2 property: DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.
|
AttestationResult |
setDeprecatedIsDebuggable(Boolean deprecatedIsDebuggable)
Set the deprecatedIsDebuggable property: DEPRECATED: Private Preview version of x-ms-sgx-is-debuggable claim.
|
AttestationResult |
setDeprecatedMrEnclave(String deprecatedMrEnclave)
Set the deprecatedMrEnclave property: DEPRECATED: Private Preview version of x-ms-sgx-mrenclave.
|
AttestationResult |
setDeprecatedMrSigner(String deprecatedMrSigner)
Set the deprecatedMrSigner property: DEPRECATED: Private Preview version of x-ms-sgx-mrsigner.
|
AttestationResult |
setDeprecatedPolicyHash(byte[] deprecatedPolicyHash)
Set the deprecatedPolicyHash property: DEPRECATED: Private Preview version of x-ms-policy-hash.
|
AttestationResult |
setDeprecatedPolicySigner(JsonWebKey deprecatedPolicySigner)
Set the deprecatedPolicySigner property: DEPRECATED: Private Preview version of x-ms-policy-signer.
|
AttestationResult |
setDeprecatedProductId(Float deprecatedProductId)
Set the deprecatedProductId property: DEPRECATED: Private Preview version of x-ms-sgx-product-id.
|
AttestationResult |
setDeprecatedRpData(String deprecatedRpData)
Set the deprecatedRpData property: DEPRECATED: Private Preview version of nonce.
|
AttestationResult |
setDeprecatedSgxCollateral(Object deprecatedSgxCollateral)
Set the deprecatedSgxCollateral property: DEPRECATED: Private Preview version of x-ms-sgx-collateral claim.
|
AttestationResult |
setDeprecatedSvn(Float deprecatedSvn)
Set the deprecatedSvn property: DEPRECATED: Private Preview version of x-ms-sgx-svn.
|
AttestationResult |
setDeprecatedTee(String deprecatedTee)
Set the deprecatedTee property: DEPRECATED: Private Preview version of x-ms-tee.
|
AttestationResult |
setDeprecatedVersion(String deprecatedVersion)
Set the deprecatedVersion property: DEPRECATED: Private Preview version of x-ms-ver claim.
|
AttestationResult |
setEnclaveHeldData(byte[] enclaveHeldData)
Set the enclaveHeldData property: A copy of the RuntimeData specified as an input to the attest call.
|
AttestationResult |
setExp(Float exp)
Set the exp property: The expiration time after which the token is no longer valid, in the number of seconds
since 1970-01-0T00:00:00Z UTC.
|
AttestationResult |
setIat(Float iat)
Set the iat property: The time at which the token was issued, in the number of seconds since 1970-01-0T00:00:00Z
UTC.
|
AttestationResult |
setInittimeClaims(Object inittimeClaims)
Set the inittimeClaims property: Inittime Claims.
|
AttestationResult |
setIsDebuggable(Boolean isDebuggable)
Set the isDebuggable property: True if the enclave is debuggable, false otherwise.
|
AttestationResult |
setIss(String iss)
Set the iss property: The Principal who issued the token.
|
AttestationResult |
setJti(String jti)
Set the jti property: Unique Identifier for the token.
|
AttestationResult |
setMrEnclave(String mrEnclave)
Set the mrEnclave property: The HEX encoded SGX MRENCLAVE value for the enclave.
|
AttestationResult |
setMrSigner(String mrSigner)
Set the mrSigner property: The HEX encoded SGX MRSIGNER value for the enclave.
|
AttestationResult |
setNbf(Float nbf)
Set the nbf property: The not before time before which the token cannot be considered valid, in the number of
seconds since 1970-01-0T00:00:00Z UTC.
|
AttestationResult |
setNonce(String nonce)
Set the nonce property: The Nonce input to the attestation request, if provided.
|
AttestationResult |
setPolicyClaims(Object policyClaims)
Set the policyClaims property: Policy Generated Claims.
|
AttestationResult |
setPolicyHash(byte[] policyHash)
Set the policyHash property: The SHA256 hash of the BASE64URL encoded policy text used for attestation.
|
AttestationResult |
setPolicySigner(JsonWebKey policySigner)
Set the policySigner property: The certificate used to sign the policy object, if specified.
|
AttestationResult |
setProductId(Float productId)
Set the productId property: The SGX Product ID for the enclave.
|
AttestationResult |
setRuntimeClaims(Object runtimeClaims)
Set the runtimeClaims property: Runtime Claims.
|
AttestationResult |
setSgxCollateral(Object sgxCollateral)
Set the sgxCollateral property: The SGX SVN value for the enclave.
|
AttestationResult |
setSvn(Float svn)
Set the svn property: The SGX SVN value for the enclave.
|
AttestationResult |
setVerifierType(String verifierType)
Set the verifierType property: The Attestation type being attested.
|
AttestationResult |
setVersion(String version)
Set the version property: The Schema version of this structure.
|
void |
validate()
Validates the instance.
|
public String getJti()
public AttestationResult setJti(String jti)
jti
- the jti value to set.public String getIss()
public AttestationResult setIss(String iss)
iss
- the iss value to set.public Float getIat()
public AttestationResult setIat(Float iat)
iat
- the iat value to set.public Float getExp()
public AttestationResult setExp(Float exp)
exp
- the exp value to set.public Float getNbf()
public AttestationResult setNbf(Float nbf)
nbf
- the nbf value to set.public Object getCnf()
public AttestationResult setCnf(Object cnf)
cnf
- the cnf value to set.public String getNonce()
public AttestationResult setNonce(String nonce)
nonce
- the nonce value to set.public String getVersion()
public AttestationResult setVersion(String version)
version
- the version value to set.public Object getRuntimeClaims()
public AttestationResult setRuntimeClaims(Object runtimeClaims)
runtimeClaims
- the runtimeClaims value to set.public Object getInittimeClaims()
public AttestationResult setInittimeClaims(Object inittimeClaims)
inittimeClaims
- the inittimeClaims value to set.public Object getPolicyClaims()
public AttestationResult setPolicyClaims(Object policyClaims)
policyClaims
- the policyClaims value to set.public String getVerifierType()
public AttestationResult setVerifierType(String verifierType)
verifierType
- the verifierType value to set.public JsonWebKey getPolicySigner()
public AttestationResult setPolicySigner(JsonWebKey policySigner)
policySigner
- the policySigner value to set.public byte[] getPolicyHash()
public AttestationResult setPolicyHash(byte[] policyHash)
policyHash
- the policyHash value to set.public Boolean isDebuggable()
public AttestationResult setIsDebuggable(Boolean isDebuggable)
isDebuggable
- the isDebuggable value to set.public Float getProductId()
public AttestationResult setProductId(Float productId)
productId
- the productId value to set.public String getMrEnclave()
public AttestationResult setMrEnclave(String mrEnclave)
mrEnclave
- the mrEnclave value to set.public String getMrSigner()
public AttestationResult setMrSigner(String mrSigner)
mrSigner
- the mrSigner value to set.public Float getSvn()
public AttestationResult setSvn(Float svn)
svn
- the svn value to set.public byte[] getEnclaveHeldData()
public AttestationResult setEnclaveHeldData(byte[] enclaveHeldData)
enclaveHeldData
- the enclaveHeldData value to set.public Object getSgxCollateral()
public AttestationResult setSgxCollateral(Object sgxCollateral)
sgxCollateral
- the sgxCollateral value to set.public String getDeprecatedVersion()
public AttestationResult setDeprecatedVersion(String deprecatedVersion)
deprecatedVersion
- the deprecatedVersion value to set.public Boolean isDeprecatedIsDebuggable()
public AttestationResult setDeprecatedIsDebuggable(Boolean deprecatedIsDebuggable)
deprecatedIsDebuggable
- the deprecatedIsDebuggable value to set.public Object getDeprecatedSgxCollateral()
public AttestationResult setDeprecatedSgxCollateral(Object deprecatedSgxCollateral)
deprecatedSgxCollateral
- the deprecatedSgxCollateral value to set.public byte[] getDeprecatedEnclaveHeldData()
public AttestationResult setDeprecatedEnclaveHeldData(byte[] deprecatedEnclaveHeldData)
deprecatedEnclaveHeldData
- the deprecatedEnclaveHeldData value to set.public byte[] getDeprecatedEnclaveHeldData2()
public AttestationResult setDeprecatedEnclaveHeldData2(byte[] deprecatedEnclaveHeldData2)
deprecatedEnclaveHeldData2
- the deprecatedEnclaveHeldData2 value to set.public Float getDeprecatedProductId()
public AttestationResult setDeprecatedProductId(Float deprecatedProductId)
deprecatedProductId
- the deprecatedProductId value to set.public String getDeprecatedMrEnclave()
public AttestationResult setDeprecatedMrEnclave(String deprecatedMrEnclave)
deprecatedMrEnclave
- the deprecatedMrEnclave value to set.public String getDeprecatedMrSigner()
public AttestationResult setDeprecatedMrSigner(String deprecatedMrSigner)
deprecatedMrSigner
- the deprecatedMrSigner value to set.public Float getDeprecatedSvn()
public AttestationResult setDeprecatedSvn(Float deprecatedSvn)
deprecatedSvn
- the deprecatedSvn value to set.public String getDeprecatedTee()
public AttestationResult setDeprecatedTee(String deprecatedTee)
deprecatedTee
- the deprecatedTee value to set.public JsonWebKey getDeprecatedPolicySigner()
public AttestationResult setDeprecatedPolicySigner(JsonWebKey deprecatedPolicySigner)
deprecatedPolicySigner
- the deprecatedPolicySigner value to set.public byte[] getDeprecatedPolicyHash()
public AttestationResult setDeprecatedPolicyHash(byte[] deprecatedPolicyHash)
deprecatedPolicyHash
- the deprecatedPolicyHash value to set.public String getDeprecatedRpData()
public AttestationResult setDeprecatedRpData(String deprecatedRpData)
deprecatedRpData
- the deprecatedRpData value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.