API Reference
Class
BenchmarkRequirementsTrustPolicy
Controls how a requirements-bundle signing certificate is trusted.
Inheritance
- Object
- BenchmarkRequirementsTrustPolicy
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property BenchmarkRequirementsApplyPlanRequest.PlanTrustPolicy
- Property BenchmarkRequirementsApplyPlanRequest.RequirementsTrustPolicy
- Property BenchmarkRequirementsRunRequest.ManualEvidenceTrustPolicy
- Property BenchmarkRequirementsRunRequest.TrustPolicy
- Method BenchmarkRequirementsTrustPolicy.Pinned
- Method BenchmarkRequirementsTrustPolicy.Strict
Accepted by parameters
- Method BenchmarkExceptionRequestSerializer.Load
- Method BenchmarkManualEvidencePackageSerializer.Load
- Method BenchmarkManualEvidencePackageSerializer.Verify
- Method BenchmarkRemediationPlanSerializer.Load
- Method BenchmarkRequirementsBundleSerializer.Load
- Method BenchmarkRequirementsExecutionService.Undo
- Method BenchmarkRequirementsTrust.RequireAuthorizedPublisher
- Method BenchmarkRequirementsTrust.Verify
- Method BenchmarkRequirementsTrust.VerifyBytes
- Method BenchmarkZoneEvidenceSerializer.Create
- Method BenchmarkZoneEvidenceSerializer.Load
- Method BenchmarkZoneEvidenceSerializer.Load
- Method BenchmarkZoneEvidenceSerializer.Load
- Method BenchmarkZoneEvidenceSerializer.Load
- Method BenchmarkZoneEvidenceSerializer.ValidateAgainstBundle
- Method BenchmarkTransactionEngine.Undo
- Method BenchmarkTransactionEngine.Undo
Constructors
public BenchmarkRequirementsTrustPolicy() #Methods
public static BenchmarkRequirementsTrustPolicy Pinned(X509Certificate2 certificate) #Returns:
BenchmarkRequirementsTrustPolicyCreates a policy that pins one certificate and does not require a public chain.
Parameters
- certificate System.Security.Cryptography.X509Certificates.X509Certificate2
public static BenchmarkRequirementsTrustPolicy Strict() #Returns:
BenchmarkRequirementsTrustPolicyCreates a strict production trust policy.
Inherited Methods
Properties
public Boolean RequireSignature { get; set; } #Gets or sets whether unsigned requirements are rejected.
public Boolean RequireTrustedChain { get; set; } #Gets or sets whether a valid Windows certificate chain is required.
public Boolean CheckCertificateRevocation { get; set; } #Gets or sets whether online certificate revocation checks are performed.
public HashSet<String> AllowedPublisherThumbprints { get; set; } #Gets or sets an optional allow-list of publisher certificate thumbprints.
public DateTimeOffset ValidationTime { get; set; } #Gets or sets the time used for validity checks.