Condividi tramite


AttestationModelFactory.PolicyModificationResult Method

Definition

Create a PolicyModificationResult type for mocking purposes.

public static Azure.Security.Attestation.PolicyModificationResult PolicyModificationResult (Azure.Security.Attestation.PolicyModification policyModification, string policyHash, Azure.Security.Attestation.AttestationSigner signer);
static member PolicyModificationResult : Azure.Security.Attestation.PolicyModification * string * Azure.Security.Attestation.AttestationSigner -> Azure.Security.Attestation.PolicyModificationResult
Public Shared Function PolicyModificationResult (policyModification As PolicyModification, policyHash As String, signer As AttestationSigner) As PolicyModificationResult

Parameters

policyModification
PolicyModification

The policy Modification which has occurred.

policyHash
String

The SHA256 hash of the policy token which was modified

signer
AttestationSigner

The signer which was used to sign the token which modified the policy.

Returns

Applies to