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)
1703
var bundlePath = ctx.
CreateCustomBundle
((certificates, ct) =>
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (1)
6272
ctx.EnvironmentVariables["TEST_BUNDLE"] = ctx.
CreateCustomBundle
(static (_, _) => Task.FromResult(new byte[] { 1, 2, 3 }));
ExecutionConfigurationGathererTests.cs (6)
529
var bundlePath = ctx.
CreateCustomBundle
((certs, ct) =>
560
capturedBundlePath = ctx.
CreateCustomBundle
((certs, ct) =>
592
var bundle1 = ctx.
CreateCustomBundle
((certs, ct) =>
594
var bundle2 = ctx.
CreateCustomBundle
((certs, ct) =>
630
var bundlePath = ctx.
CreateCustomBundle
((certificates, ct) =>
718
ctx.
CreateCustomBundle
((certs, ct) =>