Прочетете на английски Редактиране

Споделяне чрез


X509SubjectKeyIdentifierClause.CanCreateFrom(X509Certificate2) Method

Definition

Gets a value that indicates whether a key identifier clause can be created for the specified X.509 certificate.

public static bool CanCreateFrom (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);

Parameters

certificate
X509Certificate2

An X509Certificate2 that contains the X.509 certificate.

Returns

true if a key identifier clause can be created for certificate; otherwise, false.

Exceptions

certificate is null.

Remarks

A key identifier clause can be created when the certificate parameter contains the X509SubjectKeyIdentifierExtension extension.

Applies to

Продукт Версии
.NET Framework 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