Xojo Plugin
Xojo Plugin
Example: Crypt2.AddPfxSourceFile method
Demonstrates how to call the AddPfxSourceFile method.Chilkat Xojo Plugin Downloads
Dim success As Boolean
success = False
Dim crypt As New Chilkat.Crypt2
success = False
// Do public-key decryption (RSA)
crypt.CryptAlgorithm = "pki"
// ...
// ...
// ...
Dim pfxPath As String
pfxPath = "c:/my_pfx_files/a.pfx"
Dim pfxPassword As String
pfxPassword = "secret1"
success = crypt.AddPfxSourceFile(pfxPath,pfxPassword)
If (success = False) Then
System.DebugLog(crypt.LastErrorText)
Return
End If
// Add as many as PFX sources as desired...
pfxPath = "c:/my_pfx_files/b.pfx"
pfxPassword = "secret2"
success = crypt.AddPfxSourceFile(pfxPath,pfxPassword)
If (success = False) Then
System.DebugLog(crypt.LastErrorText)
Return
End If
// ...
// ...