![]() |
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
(Visual FoxPro) Example: Crypt2.AddPfxSourceBd methodDemonstrates how to call the AddPfxSourceBd method.
LOCAL loCrypt LOCAL lnSuccess LOCAL loBdPfx LOCAL lcPfxPassword * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.Crypt2') loCrypt = CreateObject('Chilkat.Crypt2') lnSuccess = 0 * Do public-key decryption (RSA) loCrypt.CryptAlgorithm = "pki" * ... * ... * ... * For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.BinData') loBdPfx = CreateObject('Chilkat.BinData') lnSuccess = loBdPfx.LoadFile("c:/my_pfx_files/a.pfx") * ... lcPfxPassword = "secret1" lnSuccess = loCrypt.AddPfxSourceBd(loBdPfx,lcPfxPassword) IF (lnSuccess = 0) THEN ? loCrypt.LastErrorText RELEASE loCrypt RELEASE loBdPfx CANCEL ENDIF * Add as many as PFX sources as desired... lnSuccess = loBdPfx.LoadFile("c:/my_pfx_files/b.pfx") lcPfxPassword = "secret2" lnSuccess = loCrypt.AddPfxSourceBd(loBdPfx,lcPfxPassword) IF (lnSuccess = 0) THEN ? loCrypt.LastErrorText RELEASE loCrypt RELEASE loBdPfx CANCEL ENDIF * ... * ... RELEASE loCrypt RELEASE loBdPfx |
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.