TestimoX

API Reference

Class

BenchmarkRequirementsTrustPolicy

Namespace TestimoX.Benchmarks.Requirements
Assembly TestimoX
Modifiers sealed

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.

Accepted by parameters

Constructors

Methods

public static BenchmarkRequirementsTrustPolicy Pinned(X509Certificate2 certificate) #
Returns: BenchmarkRequirementsTrustPolicy

Creates a policy that pins one certificate and does not require a public chain.

Parameters

certificate System.Security.Cryptography.X509Certificates.X509Certificate2 requiredposition: 0
public static BenchmarkRequirementsTrustPolicy Strict() #
Returns: BenchmarkRequirementsTrustPolicy

Creates a strict production trust policy.

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.