Certificate​Chain Certificate​Chain Certificate​Chain Class

Definition

Represents a certificate chain used for signature verification.

public : sealed class CertificateChain : ICertificateChainpublic sealed class CertificateChain : ICertificateChainPublic NotInheritable Class CertificateChain Implements ICertificateChain
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

A certificate chain is a hierarchal collection of certificates that leads from the end user or computer back to a root of trust, typically the root certification authority (CA).

To obtain a CertificateChain object, call the Certificate.BuildChainAsync method.

Methods

GetCertificates(Boolean) GetCertificates(Boolean) GetCertificates(Boolean)

Gets the list of certificates from the certificate chain.

public : IVectorView<Certificate> GetCertificates(bool includeRoot)public IReadOnlyList<Certificate> GetCertificates(Boolean includeRoot)Public Function GetCertificates(includeRoot As Boolean) As IReadOnlyList( Of Certificate )
Parameters
includeRoot
bool Boolean Boolean

True to include the root certificate in the results; otherwise false.

Returns
IVectorView<Certificate> IReadOnlyList<Certificate> IReadOnlyList<Certificate>

The list of certificates from the certificate chain.

Attributes

Validate() Validate() Validate()

Verifies whether or not the certificate chain is valid.

public : ChainValidationResult Validate()public ChainValidationResult Validate()Public Function Validate() As ChainValidationResult
Returns

The result of the certificate chain verification operation.

Attributes
See Also

Validate(ChainValidationParameters) Validate(ChainValidationParameters) Validate(ChainValidationParameters)

Verifies whether or not the certificate chain is valid using the specified validation parameters.

public : ChainValidationResult Validate(ChainValidationParameters parameter)public ChainValidationResult Validate(ChainValidationParameters parameter)Public Function Validate(parameter As ChainValidationParameters) As ChainValidationResult
Parameters
parameter
ChainValidationParameters ChainValidationParameters ChainValidationParameters

The validation parameters to use when verifying the certificate chain.

Returns

The result of the certificate chain verification operation.

Attributes
See Also