[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 (String, String, String, String, String, Pfx.Options)