共用方式為


AttestationModelFactory Class

Definition

Factory class for creating Attestation Service Model types, used for Mocking.

public static class AttestationModelFactory
type AttestationModelFactory = class
Public Class AttestationModelFactory
Inheritance
AttestationModelFactory

Methods

AttestationResponse<T>(Response, AttestationToken, T)

Create an instance of an AttestationResponse object for mocking purposes.

AttestationResult(String, String, DateTimeOffset, DateTimeOffset, DateTimeOffset, Object, String, String, Object, Object, Object, String, AttestationSigner, BinaryData, Nullable<Boolean>, Nullable<Single>, String, String, Nullable<Single>, BinaryData, Object, String, Nullable<Boolean>, Object, BinaryData, BinaryData, Nullable<Single>, String, String, Nullable<Single>, String, AttestationSigner, BinaryData, String)

Initializes a new instance of AttestationResult for mocking purposes.

PolicyCertificatesModificationResult(PolicyCertificateResolution, String)

Creates a new instance of PolicyCertificatesModificationResult for mocking purposes.

PolicyModificationResult(PolicyModification, String, AttestationSigner)

Create a PolicyModificationResult type for mocking purposes.

Applies to