1 instantiation of SafeCertStoreHandle
System.Security (1)
system\security\cryptography\cryptoapi.cs (1)
3104SafeCertStoreHandle invalidHandle = new SafeCertStoreHandle(IntPtr.Zero);
28 references to SafeCertStoreHandle
System.Security (28)
system\security\cryptography\cryptoapi.cs (13)
1871[In] SafeCertStoreHandle hAdditionalStore, 2140[In] SafeCertStoreHandle hCertStore, 2149[In] SafeCertStoreHandle hCertStore, 2158[In] SafeCertStoreHandle hCertStore, 2165[In] SafeCertStoreHandle hCertStore, 2175SafeCertStoreHandle CertOpenStore( 2682[In] SafeCertStoreHandle hCertStore, 2712[In] SafeCertStoreHandle hCertStore, 2741[In] SafeCertStoreHandle hCertStore, 2770internal static SafeCertStoreHandle CertOpenStore( 2903[In] SafeCertStoreHandle hCertStore, 3102internal static SafeCertStoreHandle InvalidHandle { 3104SafeCertStoreHandle invalidHandle = new SafeCertStoreHandle(IntPtr.Zero);
system\security\cryptography\pkcs\envelopedpkcs7.cs (4)
312SafeCertStoreHandle hCertStore = BuildOriginatorStore(this.Certificates, extraStore); 525SafeCertStoreHandle safeCertStoreHandle = BuildDecryptorStore(extraStore); 1041private static SafeCertStoreHandle BuildDecryptorStore (X509Certificate2Collection extraStore) { 1079private static SafeCertStoreHandle BuildOriginatorStore (X509Certificate2Collection bagOfCerts, X509Certificate2Collection extraStore) {
system\security\cryptography\x509\x509ui.cs (5)
103using (SafeCertStoreHandle safeSourceStoreHandle = X509Utils.ExportToMemoryStore(certificates)) 104using (SafeCertStoreHandle safeTargetStoreHandle = SelectFromStore(safeSourceStoreHandle, title, message, selectionFlag, hwndParent)) 111private static unsafe SafeCertStoreHandle SelectFromStore (SafeCertStoreHandle safeSourceStoreHandle, string title, string message, X509SelectionFlag selectionFlags, IntPtr hwndParent) { 115SafeCertStoreHandle safeCertStoreHandle = CAPI.CertOpenStore((IntPtr) CAPI.CERT_STORE_PROV_MEMORY,
system\security\cryptography\x509\x509utils.cs (6)
182internal static SafeCertStoreHandle ExportToMemoryStore (X509Certificate2Collection collection, 192SafeCertStoreHandle safeCertStoreHandle; 216private static void AddToStore(SafeCertStoreHandle safeCertStoreHandle, X509Certificate2Collection collection) 280internal static X509Certificate2Collection GetCertificates(SafeCertStoreHandle safeCertStoreHandle) { 305SafeCertStoreHandle hCertStore = SafeCertStoreHandle.InvalidHandle;