public static extern bool CertGetCertificateContextProperty( [In] CertContextHandle pCertContext, [In] uint dwPropId, [In, Out] LocalAllocHandle pvData, [In, Out] ref uint pcbData);
public static extern bool CertGetStoreProperty( [In] CertStoreHandle hCertStore, [In] uint dwPropId, [In, Out] LocalAllocHandle pvData, [In, Out] ref uint pcbData);