Returns the subject key identifier of a certificate.
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)
Syntax
C# |
---|
public static X509SubjectKeyIdentifierExtension GetSubjectKeyIdentifier( X509Certificate2 certificate ) |
Visual Basic |
---|
Public Shared Function GetSubjectKeyIdentifier ( _ certificate As X509Certificate2 _ ) As X509SubjectKeyIdentifierExtension |
Visual C++ |
---|
public: static X509SubjectKeyIdentifierExtension^ GetSubjectKeyIdentifier( X509Certificate2^ certificate ) |
Parameters
- certificate
- Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
Certificate that contains the subject key identifier. Cannot be null.