X509IncludeOption Enum

Definition

Specifies how much of the X.509 certificate chain should be included in the X.509 data.

C#
public enum X509IncludeOption
Inheritance
X509IncludeOption

Fields

Name Value Description
None 0

No X.509 chain information is included.

ExcludeRoot 1

The entire X.509 chain is included except for the root certificate.

EndCertOnly 2

Only the end certificate is included in the X.509 chain information.

WholeChain 3

The entire X.509 chain is included.

Remarks

This enumeration specifies how much of the certificate chain to include in X.509 data. You can choose to include the end certificate only; the whole chain; or the whole chain except the root certificate, which is the default.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1