X509SubjectKeyIdentifierClause.CanCreateFrom(X509Certificate2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public static bool CanCreateFrom (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member CanCreateFrom : System.Security.Cryptography.X509Certificates.X509Certificate2 -> bool
Public Shared Function CanCreateFrom (certificate As X509Certificate2) As Boolean
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.