Пример #1
0
 internal static unsafe partial bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void* pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     IntPtr pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     IntPtr phMsg,
     IntPtr ppvContext
     );
Пример #2
0
 public static extern unsafe bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void *pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     out CertEncodingType pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     out FormatType pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     out SafeCryptMsgHandle phMsg,
     out SafeCertContextHandle ppvContext
     );
Пример #3
0
 private static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [In] ref CRYPTOAPI_BLOB pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     IntPtr pdwContentType,
     IntPtr pdwFormatType,
     IntPtr phCertStore,
     IntPtr phMsg,
     out IntPtr ppvContext
     );
Пример #4
0
 public static unsafe extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void* pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     IntPtr pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     IntPtr phMsg,
     IntPtr ppvContext
     );
Пример #5
0
 internal static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [MarshalAs(UnmanagedType.LPWStr)]
     string pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     out CertEncodingType pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     out FormatType pdwFormatType,
     out IntPtr phCertStore,
     out IntPtr phMsg,
     out IntPtr ppvContext
     );
Пример #6
0
 private static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [In] ref CRYPTOAPI_BLOB pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     IntPtr pdwContentType,
     IntPtr pdwFormatType,
     IntPtr phCertStore,
     IntPtr phMsg,
     out IntPtr ppvContext
     );