Chilkat HOME Android™ Classic ASP C C++ C# Mono C# .NET Core C# C# UWP/WinRT DataFlex Delphi ActiveX Delphi DLL Visual FoxPro Java Lianja MFC Objective-C Perl PHP ActiveX PHP Extension PowerBuilder PowerShell PureBasic CkPython Chilkat2-Python Ruby SQL Server Swift 2 Swift 3/4 Tcl Unicode C Unicode C++ Visual Basic 6.0 VB.NET VB.NET UWP/WinRT VBScript Xojo Plugin Node.js Excel Go
(Visual FoxPro) Load DER encoded X.509 Certificate (.cer, .crt)Loads a digital certificate from a binary DER encoded X.509 Certificate (.cer, .crt) and fetches information about the cert.
LOCAL loCert LOCAL lnSuccess loCert = CreateObject('Chilkat_9_5_0.Cert') * LoadFromFile will load virtually any certificate format file. * It will auto-recognize the format and load appropiately. lnSuccess = loCert.LoadFromFile("/Users/chilkat/testData/cer/chilkat_ssl.cer") IF (lnSuccess <> 1) THEN ? loCert.LastErrorText RELEASE loCert CANCEL ENDIF * DN = "Distinguished Name" ? "SubjectDN:" + loCert.SubjectDN ? "Common Name:" + loCert.SubjectCN ? "Issuer Common Name:" + loCert.IssuerCN ? "Serial Number:" + loCert.SerialNumber RELEASE loCert |
© 2000-2019 Chilkat Software, Inc. All Rights Reserved.