42 references to Handle
System (22)
net\System\Net\_SecureChannel.cs (2)
313
if (certificate.
Handle
!= IntPtr.Zero)
441
if (certificate.
Handle
!=IntPtr.Zero) {
net\System\Net\Internal.cs (1)
1419
certContextArray = certificate.
Handle
;
security\system\security\cryptography\x509\x509certificate2.cs (19)
320
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
327
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
332
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
340
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
345
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
357
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
368
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
375
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
387
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
394
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
405
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
412
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
419
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1056
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1065
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1074
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1085
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1096
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
1107
m_safeCertContext = CAPI.CertDuplicateCertificateContext(this.
Handle
);
System.Core (2)
System\Security\Cryptography\X509Certificates\X509Native.cs (1)
215
SafeCertContextHandle certificateContext = DuplicateCertContext(certificate.
Handle
);
System\Security\Cryptography\Xml\ManifestSignedXml.cs (1)
426
int hrHash = X509Native.UnsafeNativeMethods._AxlGetIssuerPublicKeyHash(publisherCertificate.
Handle
,
System.IdentityModel (9)
System\IdentityModel\SecurityUtils.cs (3)
305
if (collection == null || certificate == null || certificate.
Handle
== IntPtr.Zero)
312
if (collection[i].
Handle
== IntPtr.Zero)
526
return certificate != null && certificate.
Handle
!= IntPtr.Zero;
System\IdentityModel\Selectors\X509CertificateChain.cs (5)
81
if (certificate.
Handle
== IntPtr.Zero)
102
certificate.
Handle
,
248
x509.
Handle
,
281
CAPI.CERT_CONTEXT intermediatesCertContext = (CAPI.CERT_CONTEXT) Marshal.PtrToStructure( intermediatesCert.
Handle
, typeof( CAPI.CERT_CONTEXT ) );
293
x509.
Handle
,
System\IdentityModel\SspiHelper.cs (1)
265
certContextArray = certificate.
Handle
;
System.Security (1)
system\security\cryptography\x509\x509utils.cs (1)
137
SafeCertContextHandle safeCertContext = CAPI.CertDuplicateCertificateContext(certificate.
Handle
);
System.ServiceModel (1)
System\ServiceModel\Security\SecurityUtils.cs (1)
2366
return certificate != null && certificate.
Handle
!= IntPtr.Zero;
System.Windows.Forms (4)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (2)
612
int hr = Win32._AxlGetIssuerPublicKeyHash(signerCert.
Handle
, ref pIssuerKeyHash);
788
int hr = Win32._AxlGetIssuerPublicKeyHash(signerCert.
Handle
, ref pIssuerKeyHash);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
1222
int hr = Win32._AxlGetIssuerPublicKeyHash(signerCert.
Handle
, ref pIssuerKeyHash);
1423
int hr = Win32._AxlGetIssuerPublicKeyHash(signerCert.
Handle
, ref pIssuerKeyHash);
WindowsBase (3)
Base\System\IO\Packaging\PackageDigitalSignature.cs (1)
327
certificate = new X509Certificate2(signingCertificate.
Handle
);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (2)
509
exSigner = new X509Certificate2(certificate.
Handle
);
844
bool valid = chain.Build(new X509Certificate2(certificate.
Handle
));