26 references to crypt32
System.Security.Cryptography (26)
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.cs (2)
400Interop.crypt32.CertGetNameString( 521Interop.crypt32.CertGetNameString(
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.Import.cs (1)
150if (!Interop.crypt32.CertFindCertificateInStore(hCertStore, Interop.Crypt32.CertFindType.CERT_FIND_SUBJECT_CERT, &certInfo, ref pCertContext))
System\Security\Cryptography\X509Certificates\ChainPal.Windows.BuildChain.cs (1)
98chainEngineHandle = Interop.crypt32.CertCreateCertificateChainEngine(ref customChainEngine);
System\Security\Cryptography\X509Certificates\ChainPal.Windows.cs (1)
53if (!Interop.crypt32.CertVerifyCertificateChainPolicy(ChainPolicy.CERT_CHAIN_POLICY_BASE, _chain, ref para, ref status))
System\Security\Cryptography\X509Certificates\FindPal.Windows.cs (4)
326if (!Interop.crypt32.CertGetIntendedKeyUsage(Interop.Crypt32.CertEncodingType.All, pCertInfo, out actual, sizeof(X509KeyUsageFlags))) 393SafeCertStoreHandle findResults = Interop.crypt32.CertOpenStore( 409while (Interop.crypt32.CertFindCertificateInStore(_storePal.SafeCertStoreHandle, dwFindType, pvFindPara, ref pCertContext)) 476return Interop.crypt32.CertGetNameString(
System\Security\Cryptography\X509Certificates\StorePal.Windows.cs (2)
43while (Interop.crypt32.CertEnumCertificatesInStore(_certStore, ref pCertContext)) 67if (!Interop.crypt32.CertFindCertificateInStore(_certStore, Interop.Crypt32.CertFindType.CERT_FIND_EXISTING, pCertContext, ref enumCertContext))
System\Security\Cryptography\X509Certificates\StorePal.Windows.Export.cs (2)
33if (!Interop.crypt32.CertEnumCertificatesInStore(_certStore, ref pCertContext)) 56if (!Interop.crypt32.CertEnumCertificatesInStore(_certStore, ref pCertContext))
System\Security\Cryptography\X509Certificates\StorePal.Windows.Import.cs (3)
124SafeCertStoreHandle certStore = Interop.crypt32.CertOpenStore( 154SafeCertStoreHandle certStore = Interop.crypt32.CertOpenStore( 196SafeCertStoreHandle certStore = Interop.crypt32.CertOpenStore(CertStoreProvider.CERT_STORE_PROV_SYSTEM_W, Interop.Crypt32.CertEncodingType.All, IntPtr.Zero, certStoreFlags, storeName);
System\Security\Cryptography\X509Certificates\WindowsHelpers.cs (4)
85if (!Interop.crypt32.CryptDecodeObjectPointer( 107if (!Interop.crypt32.CryptDecodeObjectPointer( 178if (!Interop.crypt32.CryptDecodeObjectPointer( 200if (!Interop.crypt32.CryptDecodeObjectPointer(
System\Security\Cryptography\X509Certificates\WindowsInterop.crypt32.cs (2)
107if (!Interop.crypt32.CryptEncodeObject(Interop.Crypt32.CertEncodingType.All, lpszStructType, decoded, null, ref cb)) 111if (!Interop.crypt32.CryptEncodeObject(Interop.Crypt32.CertEncodingType.All, lpszStructType, decoded, encoded, ref cb))
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Windows.cs (2)
96while (Interop.crypt32.CertEnumCertificatesInStore(storeHandle, ref nextCert)) 163while (Interop.crypt32.CertEnumCertificatesInStore(storeHandle, ref nextCert))
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (2)
204if (!Interop.crypt32.CryptDecodeObject(CertEncodingType.All, lpszStructType, encodedKeyValue, encodedKeyValue.Length, CryptDecodeObjectFlags.None, null, ref cbDecoded)) 208if (!Interop.crypt32.CryptDecodeObject(CertEncodingType.All, lpszStructType, encodedKeyValue, encodedKeyValue.Length, CryptDecodeObjectFlags.None, keyBlob, ref cbDecoded))