21 references to GetCertContext
System.Security (21)
system\security\cryptography\pkcs\envelopedpkcs7.cs (7)
669CAPI.CERT_CONTEXT pCertContext = (CAPI.CERT_CONTEXT) Marshal.PtrToStructure(X509Utils.GetCertContext(certificates[index]).DangerousGetHandle(), typeof(CAPI.CERT_CONTEXT)); 688CAPI.CERT_CONTEXT pCertContext = (CAPI.CERT_CONTEXT) Marshal.PtrToStructure(X509Utils.GetCertContext(certificate).DangerousGetHandle(), typeof(CAPI.CERT_CONTEXT)); 751if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 759if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 937if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 944if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 1028SafeCertContextHandle certContext = X509Utils.GetCertContext(recipients[index].Certificate);
system\security\cryptography\pkcs\pkcsutils.cs (4)
58CAPI.CERT_CONTEXT pCertContext = (CAPI.CERT_CONTEXT) Marshal.PtrToStructure(X509Utils.GetCertContext(certificate).DangerousGetHandle(), typeof(CAPI.CERT_CONTEXT)); 784SafeCertContextHandle safeCertContextHandle = X509Utils.GetCertContext(signer.Certificate); 963SafeCertContextHandle safeCertContextHandle = X509Utils.GetCertContext(certificate); 984SafeCertContextHandle safeCertContextHandle = X509Utils.GetCertContext(certificate);
system\security\cryptography\pkcs\signedpkcs7.cs (1)
196if (X509Utils.GetPrivateKeyInfo(X509Utils.GetCertContext(signer.Certificate), ref parameters))
system\security\cryptography\pkcs\signerinfo.cs (6)
291if (X509Utils.GetPrivateKeyInfo(X509Utils.GetCertContext(signer.Certificate), ref parameters) == false) 349CAPI.CERT_CONTEXT pCertContext = (CAPI.CERT_CONTEXT) Marshal.PtrToStructure(X509Utils.GetCertContext(certificate).DangerousGetHandle(), typeof(CAPI.CERT_CONTEXT)); 395X509Utils.GetCertContext(certificate), 410if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 418if (!CAPI.CAPISafe.CertGetCertificateContextProperty(X509Utils.GetCertContext(certificate), 687int hr = X509Utils.VerifyCertificate(X509Utils.GetCertContext(certificate),
system\security\cryptography\x509\x509ui.cs (2)
31DisplayX509Certificate(X509Utils.GetCertContext(certificate), IntPtr.Zero); 38DisplayX509Certificate(X509Utils.GetCertContext(certificate), hwndParent);
system\security\cryptography\x509\x509utils.cs (1)
225using (SafeCertContextHandle ctx = X509Utils.GetCertContext(x509)) {