56 references to X509CertificateLoader
dotnet-dev-certs (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Microsoft.Bcl.Cryptography (1)
Microsoft.Bcl.Cryptography.Forwards.cs (1)
10[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509CertificateLoader))]
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifest.cs (1)
365X509CertificateLoader.LoadPkcs12(Convert.FromBase64String(File.ReadAllText(AkaMSClientCertificate)), password: null) : null,
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
94_clientCert = c as X509Certificate2 ?? X509CertificateLoader.LoadCertificate(c.GetRawCertData());
System.Net.Quic (1)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
132certificate = X509CertificateLoader.LoadCertificate(certData.Span);
System.Security.Cryptography (15)
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\Pkcs12LoaderLimits.cs (1)
57/// The <see cref="X509CertificateLoader" /> class checks for reference
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
893X509Certificate2 ret = writer.Encode(X509CertificateLoader.LoadCertificate);
System\Security\Cryptography\X509Certificates\OpenSslCertificateAssetDownloader.cs (1)
33certificate = X509CertificateLoader.LoadCertificate(data);
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (3)
88X509Certificate2 cert = X509CertificateLoader.LoadPkcs12FromFile(filePath, null); 157using (X509Certificate2 fromFile = X509CertificateLoader.LoadPkcs12FromFile(existingFilename, null)) 267using (X509Certificate2 candidate = X509CertificateLoader.LoadPkcs12FromFile(maybeMatch, null))
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
59return X509CertificateLoader.LoadPkcs12Pal( 89pal = X509CertificateLoader.LoadPkcs12PalFromFile(
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (2)
83if (X509CertificateLoader.IsPkcs12(rawData)) 145if (X509CertificateLoader.IsPkcs12(fileName))
System\Security\Cryptography\X509Certificates\StorePal.OpenSsl.cs (2)
48X509CertificateLoader.LoadPkcs12Collection( 117X509CertificateLoader.LoadPkcs12CollectionFromFile(
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
681X509CertificateLoader.ValidateKeyStorageFlags(keyStorageFlags);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
1112X509Certificate2 ret = X509CertificateLoader.LoadCertificate(certData.Span);
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (1)
406Add(X509CertificateLoader.LoadCertificate(certBytes));
System.Security.Cryptography.Pkcs (3)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
48originatorCerts.Add(X509CertificateLoader.LoadCertificate(certChoice.Certificate.Value.Span));
System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
79return X509CertificateLoader.LoadCertificate(PkcsHelpers.DecodeOctetString(_decoded.CertValue));
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
98coll.Add(X509CertificateLoader.LoadCertificate(choice.Certificate.Value.Span));
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (2)
39X509CertificateLoader.LoadCertificate(rgbCert); 328X509CertificateLoader.LoadCertificate(
Templates.Blazor.Tests (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Templates.Blazor.WebAssembly.Auth.Tests (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Templates.Blazor.WebAssembly.Tests (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Templates.Mvc.Tests (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));
Templates.Tests (4)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
97var candidate = X509CertificateLoader.LoadCertificateFromFile(certPath); 200using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert)); 231using var existingCert = X509CertificateLoader.LoadCertificateFromFile(certPath);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
89using var publicCertificate = X509CertificateLoader.LoadCertificate(certificate.Export(X509ContentType.Cert));