System.Security.Cryptography.X509Certificates.X509IncludeOption Enumeration

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

Syntax

public enum X509IncludeOption

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.

Members

Member NameDescription
EndCertOnly

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

ExcludeRoot

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

None

No X.509 chain information is included.

WholeChain

The entire X.509 chain is included.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0