10 references to CreateCustomBundle
Aspire.Hosting (2)
ApplicationModel\CertificateTrustConfigurationCallbackAnnotation.cs (1)
149/// Collection of custom certificate bundle generators added via the <see cref="CreateCustomBundle"/> method, keyed by the bundle's unique ID/filename under the root certificates path. The value is a function that generates the bundle contents as a byte array given a collection of X509 certificates.
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (1)
149/// Collection of custom certificate bundle generators added via the <see cref="CertificateTrustConfigurationCallbackAnnotationContext.CreateCustomBundle"/> method, keyed by the bundle's relative path under the root certificates path. The value is a function that generates the bundle contents as a byte array given a collection of X509 certificates and a cancellation token.
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1698var bundlePath = ctx.CreateCustomBundle((certificates, ct) =>
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (1)
5352ctx.EnvironmentVariables["TEST_BUNDLE"] = ctx.CreateCustomBundle(static (_, _) => Task.FromResult(new byte[] { 1, 2, 3 }));
ExecutionConfigurationGathererTests.cs (6)
451var bundlePath = ctx.CreateCustomBundle((certs, ct) => 482capturedBundlePath = ctx.CreateCustomBundle((certs, ct) => 514var bundle1 = ctx.CreateCustomBundle((certs, ct) => 516var bundle2 = ctx.CreateCustomBundle((certs, ct) => 552var bundlePath = ctx.CreateCustomBundle((certificates, ct) => 641ctx.CreateCustomBundle((certs, ct) =>