CryptoSys PKI Pro Manual

Example: Pfx.MakeFile 

[VB6 equivalent: PFX_MakeFile]

Dim strOutputFile As String
Dim strCertFile As String
Dim nRet As Integer

strOutputFile = "CarlNoKey.p12"
strCertFile = "CarlRSASelf.cer"

' Given Carl's certificate only,
' create a PKCS-12 (pfx/p12) file with no private key.
nRet = Pfx.MakeFile(strOutputFile, strCertFile, "", "", "Carl's ID", 0)
Console.WriteLine("PFX_MakeFile returns " & nRet)

See Also:
Pfx.MakeFile Method

[Contents] [Index]

[PREV: Example: Pfx.MakeFile ...]   [Contents]   [Index]   
   [NEXT: Example: General.CompileTime ...]

Copyright © 2004-23 D.I. Management Services Pty Ltd. All rights reserved. Generated 2023-09-18T10:02:53Z.