Share via


CertificateTrustConfigurationCallbackAnnotationContext Class

Definition

Context provided to a CertificateTrustConfigurationCallbackAnnotation callback.

public sealed class CertificateTrustConfigurationCallbackAnnotationContext
type CertificateTrustConfigurationCallbackAnnotationContext = class
Public NotInheritable Class CertificateTrustConfigurationCallbackAnnotationContext
Inheritance
CertificateTrustConfigurationCallbackAnnotationContext

Constructors

CertificateTrustConfigurationCallbackAnnotationContext()

Properties

Arguments

Gets the command line arguments associated with the callback context. Values can be either a string or a path value provider such as CertificateBundlePath or CertificateDirectoriesPath.

CancellationToken

Gets the CancellationToken that can be used to cancel the operation.

CertificateBundlePath

A value provider that will resolve to a path to a custom certificate bundle.

CertificateDirectoriesPath

A value provider that will resolve to paths containing individual certificates.

EnvironmentVariables

Gets the environment variables required to configure certificate trust for the resource. The dictionary key is the environment variable name; the value can be either a string or a path value provider such as CertificateBundlePath or CertificateDirectoriesPath. By default the environment will always include an entry for SSL_CERT_DIR and may include SSL_CERT_FILE if Override or System is configured.

ExecutionContext

Gets the DistributedApplicationExecutionContext for this session.

Resource

Gets the resource to which the annotation is applied.

Scope

Gets the CertificateTrustScope for the resource.

Applies to