CertificateRevocationListBuilder.BuildCrlDistributionPointExtension Method

Definition

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

C#
public static System.Security.Cryptography.X509Certificates.X509Extension BuildCrlDistributionPointExtension(System.Collections.Generic.IEnumerable<string> uris, bool critical = false);

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

Proizvod Verzije
.NET 7, 8, 9, 10