CryptoSys PKI Pro Manual

Example: X509.CertRequest  X509.Options 

[VB6 equivalent: X509_CertRequest]

Dim nRet As Integer
nRet = X509.CertRequest("pkcs_ex_req.bin", "rsa508.p8e", _
    "C=US,O=Example Organization,CN=Test User 1", "password", _
    X509.Options.SigAlg_Md2WithRSAEncryption Or X509.Options.FormatBinary Or X509.Options.RequestKludge)
If nRet <> 0 Then
    Console.WriteLine(nRet & " " & General.LastError())
Else
    Console.WriteLine("Success")
End If

See Also:
X509.CertRequest Method (String, String, String, String, String, SigAlgorithm, X509.CsrOptions)
X509.CertRequest Method (String, String, String, String, String, X509.Options) - @deprecated
X509.CertRequest Method (String, String, String, String, X509.Options)

[Contents] [Index]

[PREV: Example: X509.CertRequest ...]   [Contents]   [Index]   
   [NEXT: Example: X509.CertSerialNumber ...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved.