Share via


CertificateChain Class

Definition

Represents a certificate chain used for signature verification.

public ref class CertificateChain sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateChain final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CertificateChain
Public NotInheritable Class CertificateChain
Inheritance
Object Platform::Object IInspectable CertificateChain
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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)

Gets the list of certificates from the certificate chain.

Validate()

Verifies whether or not the certificate chain is valid.

Validate(ChainValidationParameters)

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

Applies to