ChainValidationParameters ChainValidationParameters ChainValidationParameters ChainValidationParameters Class

Definition

Represents values to use when verifying a certificate chain.

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

Constructors

ChainValidationParameters() ChainValidationParameters() ChainValidationParameters() ChainValidationParameters()

Creates a new instance of the ChainValidationParameters class.

public : ChainValidationParameters()
public ChainValidationParameters()
Public Sub New()
var chainValidationParameters = new chainValidationParameters();

Properties

CertificateChainPolicy CertificateChainPolicy CertificateChainPolicy CertificateChainPolicy

Gets or sets the certificate chain policy to use when verifying the certificate chain.

public : CertificateChainPolicy CertificateChainPolicy { get; set; }
public CertificateChainPolicy CertificateChainPolicy { get; set; }
Public ReadWrite Property CertificateChainPolicy As CertificateChainPolicy
var certificateChainPolicy = chainValidationParameters.certificateChainPolicy;
chainValidationParameters.certificateChainPolicy = certificateChainPolicy;
Value
CertificateChainPolicy CertificateChainPolicy CertificateChainPolicy CertificateChainPolicy

The certificate chain policy to use when verifying the certificate chain.

ServerDnsName ServerDnsName ServerDnsName ServerDnsName

Gets or sets the server DNS name to use for SSL policy.

public : HostName ServerDnsName { get; set; }
public HostName ServerDnsName { get; set; }
Public ReadWrite Property ServerDnsName As HostName
var hostName = chainValidationParameters.serverDnsName;
chainValidationParameters.serverDnsName = hostName;
Value
HostName HostName HostName HostName

The server DNS name to use for SSL policy.

Remarks

The ServerDnsName property only applies when the CertificateChainPolicy property is set to Ssl.