12 references to UnsafeNativeMethods
System.Core (12)
System\Security\Cryptography\X509Certificates\X509Native.cs (8)
33
bool gotProperty =
UnsafeNativeMethods
.CertGetCertificateContextProperty(certificateContext,
61
if (
UnsafeNativeMethods
.CertGetCertificateContextProperty(
79
if (!
UnsafeNativeMethods
.CryptAcquireCertificatePrivateKey(certificateContext,
124
if (!
UnsafeNativeMethods
.CertGetCertificateContextProperty(certificateContext,
135
if (!
UnsafeNativeMethods
.CertGetCertificateContextProperty(certificateContext,
174
return
UnsafeNativeMethods
.CertSetCertificateContextProperty(
194
return
UnsafeNativeMethods
.CertSetCertificateContextProperty(
208
return
UnsafeNativeMethods
.CertDuplicateCertificateContext(context);
System\Security\Cryptography\Xml\ManifestSignedXml.cs (4)
426
int hrHash = X509Native.
UnsafeNativeMethods
._AxlGetIssuerPublicKeyHash(publisherCertificate.Handle,
504
int hrVerify = X509Native.
UnsafeNativeMethods
.CertVerifyAuthenticodeLicense(ref xmlBlob,
528
X509Native.
UnsafeNativeMethods
.CertFreeAuthenticodeSignerInfo(ref signer);
529
X509Native.
UnsafeNativeMethods
.CertFreeAuthenticodeTimestamperInfo(ref timestamper);