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