![]() |
Chilkat • HOME • Android™ • AutoIt • C • C# • C++ • Chilkat2-Python • CkPython • Classic ASP • DataFlex • Delphi DLL • Go • Java • Node.js • Objective-C • PHP Extension • Perl • PowerBuilder • PowerShell • PureBasic • Ruby • SQL Server • Swift • Tcl • Unicode C • Unicode C++ • VB.NET • VBScript • Visual Basic 6.0 • Visual FoxPro • Xojo Plugin
(Lianja) Get Issuer Certificate InformationSee more Certificates ExamplesA certificate contains information about its issuer. This example demonstrates how to get the issuer information from a certificate.
loCert = createobject("CkCert") llSuccess = loCert.LoadFromFile("qa_data/certs/sample.cer") if (llSuccess = .F.) then ? loCert.LastErrorText release loCert return endif // Get issuer information: // ----------------------------------------------------------------------- // (Not all subject fields may exist depending on the issuer certificate.) // ----------------------------------------------------------------------- // Issuer DN (Distinguished Name, i.e. all the Issuer subject parts) ? "DN: " + loCert.IssuerDN // Common Subject parts: // Issuer Common Name ? "CN: " + loCert.IssuerCN // Issuer Country ? "C: " + loCert.IssuerC // Issuer Email address ? "E: " + loCert.IssuerE // Issuer Locality ? "L: " + loCert.IssuerL // Issuer Organization ? "O: " + loCert.IssuerO // Issuer Organizational Unit ? "OU: " + loCert.IssuerOU // Issuer State ? "S: " + loCert.IssuerS release loCert |
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.