Example #1
0
 public static extern bool CryptDecodeObject(
         CryptEncodingFlags certEncodingType,
         IntPtr lpszStructType,
         byte[] pbEncoded,
         int cbEncoded,
         CryptDecodeFlags flags,
         [In, Out] byte[] pvStructInfo,
         ref uint cbStructInfo
     );
Example #2
0
 internal static extern bool CryptDecodeObjectEx(
         CryptEncodingFlags dwCertEncodingType,
         [MarshalAs(UnmanagedType.LPWStr)] string pszString,
         byte[] pbEncoded,
         uint cbEncoded,
         uint dwFlags,
         IntPtr decodeParam,
         out byte[] pvStructInfo,
         ref byte[] pcbStructInfo
     );