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