ChainBuildingParameters ChainBuildingParameters ChainBuildingParameters ChainBuildingParameters Class

Definition

Represents parameters to use when building a certificate chain.

public : sealed class ChainBuildingParameters : IChainBuildingParameters
public sealed class ChainBuildingParameters : IChainBuildingParameters
Public NotInheritable Class ChainBuildingParameters Implements IChainBuildingParameters
var chainBuildingParameters = new chainBuildingParameters();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

ChainBuildingParameters() ChainBuildingParameters() ChainBuildingParameters() ChainBuildingParameters()

Creates a new instance of the ChainBuildingParameters class.

public : ChainBuildingParameters()
public ChainBuildingParameters()
Public Sub New()
var chainBuildingParameters = new chainBuildingParameters();

Properties

AuthorityInformationAccessEnabled AuthorityInformationAccessEnabled AuthorityInformationAccessEnabled AuthorityInformationAccessEnabled

Gets or sets a value that indicates whether Authority Information Access (AIA) is enabled.

public : Platform::Boolean AuthorityInformationAccessEnabled { get; set; }
public bool AuthorityInformationAccessEnabled { get; set; }
Public ReadWrite Property AuthorityInformationAccessEnabled As bool
var bool = chainBuildingParameters.authorityInformationAccessEnabled;
chainBuildingParameters.authorityInformationAccessEnabled = bool;
Value
Platform::Boolean bool bool bool

True to enable Authority Information Access (AIA); otherwise false. The default is true.

CurrentTimeValidationEnabled CurrentTimeValidationEnabled CurrentTimeValidationEnabled CurrentTimeValidationEnabled

Gets or sets a value indicating that the current time is to be used for the validation timestamp.

public : Platform::Boolean CurrentTimeValidationEnabled { get; set; }
public bool CurrentTimeValidationEnabled { get; set; }
Public ReadWrite Property CurrentTimeValidationEnabled As bool
var bool = chainBuildingParameters.currentTimeValidationEnabled;
chainBuildingParameters.currentTimeValidationEnabled = bool;
Value
Platform::Boolean bool bool bool

True to use the current time as the validation timestamp; otherwise false. The default is true.

EnhancedKeyUsages EnhancedKeyUsages EnhancedKeyUsages EnhancedKeyUsages

Gets a collection of object identifiers (OIDs) for the enhanced key usage extension.

public : IVector<Platform::String> EnhancedKeyUsages { get; }
public IList<string> EnhancedKeyUsages { get; }
Public ReadOnly Property EnhancedKeyUsages As IList<string>
var iList = chainBuildingParameters.enhancedKeyUsages;
Value
IVector<Platform::String> IList<string> IList<string> IList<string>

A collection of object identifiers (OIDs) for the enhanced key usage extension.

Remarks

The EnhancedKeyUsages property is read-only. However, the list of object identifiers (OIDs) that is returned is writable and you can add OIDs for enhanced key usage to the list.

ExclusiveTrustRoots ExclusiveTrustRoots ExclusiveTrustRoots ExclusiveTrustRoots

Gets the list of root certificates that will be trusted.

public : IVector<Certificate> ExclusiveTrustRoots { get; }
public IList<Certificate> ExclusiveTrustRoots { get; }
Public ReadOnly Property ExclusiveTrustRoots As IList<Certificate>
var iList = chainBuildingParameters.exclusiveTrustRoots;
Value
IVector<Certificate> IList<Certificate> IList<Certificate> IList<Certificate>

The list of root certificates that will be trusted.

Remarks

The ExclusiveTrustRoots property is read-only. However, the list of root certificates that is returned is writable and you can add certificates to it that will be used for exclusive trust.

NetworkRetrievalEnabled NetworkRetrievalEnabled NetworkRetrievalEnabled NetworkRetrievalEnabled

Gets or sets a value indicating whether to request new URLs to use for chain building and revocation checking or to use cached URLs.

public : Platform::Boolean NetworkRetrievalEnabled { get; set; }
public bool NetworkRetrievalEnabled { get; set; }
Public ReadWrite Property NetworkRetrievalEnabled As bool
var bool = chainBuildingParameters.networkRetrievalEnabled;
chainBuildingParameters.networkRetrievalEnabled = bool;
Value
Platform::Boolean bool bool bool

True torequest new URLs to use for chain building and revocation checking; false to use cached URLs.

RevocationCheckEnabled RevocationCheckEnabled RevocationCheckEnabled RevocationCheckEnabled

Gets or sets a value indicating whether revocation checking is enabled.

public : Platform::Boolean RevocationCheckEnabled { get; set; }
public bool RevocationCheckEnabled { get; set; }
Public ReadWrite Property RevocationCheckEnabled As bool
var bool = chainBuildingParameters.revocationCheckEnabled;
chainBuildingParameters.revocationCheckEnabled = bool;
Value
Platform::Boolean bool bool bool

True to enable revocation checking; otherwise false.

ValidationTimestamp ValidationTimestamp ValidationTimestamp ValidationTimestamp

Gets or sets the time stamp used to determine whether the certificate chain was time valid.

public : DateTime ValidationTimestamp { get; set; }
public DateTimeOffset ValidationTimestamp { get; set; }
Public ReadWrite Property ValidationTimestamp As DateTimeOffset
var dateTimeOffset = chainBuildingParameters.validationTimestamp;
chainBuildingParameters.validationTimestamp = dateTimeOffset;
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time stamp used to determine whether the certificate chain was time valid.