CertStrToName (crypt32)
Last changed: -46.120.41.29

.
Summary
The CertStrToName function converts a null-terminated X.500 string to an encoded certificate name.

C# Signature:

[DllImport("crypt32.dll", SetLastError=true)]
public static extern bool CertStrToName(
        uint dwCertEncodingType,
        string pszX500,
        uint dwStrType,
        IntPtr pvReserved,
        byte[] pbEncoded,
        ref uint pcbEncoded,
        StringBuilder ppszError);

VB Signature:

Declare Function CertStrToName Lib "crypt32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation