AttestationModelFactory.AttestationResult Method

Definition

Initializes a new instance of AttestationResult for mocking purposes.

public static Azure.Security.Attestation.AttestationResult AttestationResult (string jti = default, string issuer = default, DateTimeOffset issuedAt = default, DateTimeOffset expiration = default, DateTimeOffset notBefore = default, object cnf = default, string nonce = default, string version = default, object runtimeClaims = default, object inittimeClaims = default, object policyClaims = default, string verifierType = default, Azure.Security.Attestation.AttestationSigner policySigner = default, BinaryData policyHash = default, bool? isDebuggable = default, float? productId = default, string mrEnclave = default, string mrSigner = default, float? svn = default, BinaryData enclaveHeldData = default, object sgxCollateral = default, string deprecatedVersion = default, bool? deprecatedIsDebuggable = default, object deprecatedSgxCollateral = default, BinaryData deprecatedEnclaveHeldData = default, BinaryData deprecatedEnclaveHeldData2 = default, float? deprecatedProductId = default, string deprecatedMrEnclave = default, string deprecatedMrSigner = default, float? deprecatedSvn = default, string deprecatedTee = default, Azure.Security.Attestation.AttestationSigner deprecatedPolicySigner = default, BinaryData deprecatedPolicyHash = default, string deprecatedRpData = default);
static member AttestationResult : string * string * DateTimeOffset * DateTimeOffset * DateTimeOffset * obj * string * string * obj * obj * obj * string * Azure.Security.Attestation.AttestationSigner * BinaryData * Nullable<bool> * Nullable<single> * string * string * Nullable<single> * BinaryData * obj * string * Nullable<bool> * obj * BinaryData * BinaryData * Nullable<single> * string * string * Nullable<single> * string * Azure.Security.Attestation.AttestationSigner * BinaryData * string -> Azure.Security.Attestation.AttestationResult
Public Shared Function AttestationResult (Optional jti As String = Nothing, Optional issuer As String = Nothing, Optional issuedAt As DateTimeOffset = Nothing, Optional expiration As DateTimeOffset = Nothing, Optional notBefore As DateTimeOffset = Nothing, Optional cnf As Object = Nothing, Optional nonce As String = Nothing, Optional version As String = Nothing, Optional runtimeClaims As Object = Nothing, Optional inittimeClaims As Object = Nothing, Optional policyClaims As Object = Nothing, Optional verifierType As String = Nothing, Optional policySigner As AttestationSigner = Nothing, Optional policyHash As BinaryData = Nothing, Optional isDebuggable As Nullable(Of Boolean) = Nothing, Optional productId As Nullable(Of Single) = Nothing, Optional mrEnclave As String = Nothing, Optional mrSigner As String = Nothing, Optional svn As Nullable(Of Single) = Nothing, Optional enclaveHeldData As BinaryData = Nothing, Optional sgxCollateral As Object = Nothing, Optional deprecatedVersion As String = Nothing, Optional deprecatedIsDebuggable As Nullable(Of Boolean) = Nothing, Optional deprecatedSgxCollateral As Object = Nothing, Optional deprecatedEnclaveHeldData As BinaryData = Nothing, Optional deprecatedEnclaveHeldData2 As BinaryData = Nothing, Optional deprecatedProductId As Nullable(Of Single) = Nothing, Optional deprecatedMrEnclave As String = Nothing, Optional deprecatedMrSigner As String = Nothing, Optional deprecatedSvn As Nullable(Of Single) = Nothing, Optional deprecatedTee As String = Nothing, Optional deprecatedPolicySigner As AttestationSigner = Nothing, Optional deprecatedPolicyHash As BinaryData = Nothing, Optional deprecatedRpData As String = Nothing) As AttestationResult

Parameters

jti
String

Unique Identifier for the token.

issuer
String

The Principal who issued the token.

issuedAt
DateTimeOffset

The time at which the token was issued, in the number of seconds since 1970-01-0T00:00:00Z UTC.

expiration
DateTimeOffset

The expiration time after which the token is no longer valid, in the number of seconds since 1970-01-0T00:00:00Z UTC.

notBefore
DateTimeOffset

The not before time before which the token cannot be considered valid, in the number of seconds since 1970-01-0T00:00:00Z UTC.

cnf
Object

An RFC 7800 Proof of Possession Key.

nonce
String

The Nonce input to the attestation request, if provided.

version
String

The Schema version of this structure. Current Value: 1.0.

runtimeClaims
Object

Runtime Claims.

inittimeClaims
Object

Inittime Claims.

policyClaims
Object

Policy Generated Claims.

verifierType
String

The Attestation type being attested.

policySigner
AttestationSigner

The certificate used to sign the policy object, if specified.

policyHash
BinaryData

The SHA256 hash of the BASE64URL encoded policy text used for attestation.

isDebuggable
Nullable<Boolean>

True if the enclave is debuggable, false otherwise.

productId
Nullable<Single>

The SGX Product ID for the enclave.

mrEnclave
String

The HEX encoded SGX MRENCLAVE value for the enclave.

mrSigner
String

The HEX encoded SGX MRSIGNER value for the enclave.

svn
Nullable<Single>

The SGX SVN value for the enclave.

enclaveHeldData
BinaryData

A copy of the RuntimeData specified as an input to the attest call.

sgxCollateral
Object

The SGX SVN value for the enclave.

deprecatedVersion
String

DEPRECATED: Private Preview version of x-ms-ver claim.

deprecatedIsDebuggable
Nullable<Boolean>

DEPRECATED: Private Preview version of x-ms-sgx-is-debuggable claim.

deprecatedSgxCollateral
Object

DEPRECATED: Private Preview version of x-ms-sgx-collateral claim.

deprecatedEnclaveHeldData
BinaryData

DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.

deprecatedEnclaveHeldData2
BinaryData

DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.

deprecatedProductId
Nullable<Single>

DEPRECATED: Private Preview version of x-ms-sgx-product-id.

deprecatedMrEnclave
String

DEPRECATED: Private Preview version of x-ms-sgx-mrenclave.

deprecatedMrSigner
String

DEPRECATED: Private Preview version of x-ms-sgx-mrsigner.

deprecatedSvn
Nullable<Single>

DEPRECATED: Private Preview version of x-ms-sgx-svn.

deprecatedTee
String

DEPRECATED: Private Preview version of x-ms-tee.

deprecatedPolicySigner
AttestationSigner

DEPRECATED: Private Preview version of x-ms-policy-signer.

deprecatedPolicyHash
BinaryData

DEPRECATED: Private Preview version of x-ms-policy-hash.

deprecatedRpData
String

DEPRECATED: Private Preview version of nonce.

Returns

An AttestationResult object.

Applies to