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