40 references to Write
dotnet-dev-certs (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Microsoft.AspNetCore.Server.Kestrel.Core (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Templates.Blazor.Tests (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Templates.Blazor.WebAssembly.Auth.Tests (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Templates.Blazor.WebAssembly.Tests (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Templates.Mvc.Tests (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));
Templates.Tests (5)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
542pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 551pem = PemEncoding.Write("ENCRYPTED PRIVATE KEY", keyBytes); 558pem = PemEncoding.Write("PRIVATE KEY", keyBytes); 565bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert))); 575bytes = Encoding.ASCII.GetBytes(PemEncoding.Write("CERTIFICATE", certificate.Export(X509ContentType.Cert)));