CertificateRevocationListBuilder.BuildCrlDistributionPointExtension Method

Definition

Builds a CRL Distribution Point Extension with the specified retrieval URIs.

public static System.Security.Cryptography.X509Certificates.X509Extension BuildCrlDistributionPointExtension (System.Collections.Generic.IEnumerable<string> uris, bool critical = false);
static member BuildCrlDistributionPointExtension : seq<string> * bool -> System.Security.Cryptography.X509Certificates.X509Extension
Public Shared Function BuildCrlDistributionPointExtension (uris As IEnumerable(Of String), Optional critical As Boolean = false) As X509Extension

Parameters

uris
IEnumerable<String>

The URIs to include as distribution points for the relevant Certificate Revocation List (CRL).

critical
Boolean

true to mark the extension as critical; otherwise, false. The default is false.

Returns

An object suitable for use as a CRL Distribution Point Extension.

Exceptions

uris is null.

uris contains a null value.

-or-

uris is empty.

One of the values in uris contains characters outside of the International Alphabet 5 (IA5) character space (which is equivalent to 7-bit US-ASCII).

Applies to