Table of Contents

Class NuGetTrustedSigners

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Manages NuGet trusted signers.

public sealed record NuGetTrustedSigners : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetTrustedSigners>

Inheritance

Implements

Properties

AllowUntrustedRoot

Allows a certificate chain whose root is not trusted.

public bool AllowUntrustedRoot { get; init; }

Property Value

bool

Author

Adds the package author as the trusted signer.

public bool Author { get; init; }

Property Value

bool

CertificateFingerprint

The certificate fingerprint used to find or trust a certificate.

public string? CertificateFingerprint { get; init; }

Property Value

string?

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

FingerprintAlgorithm

The hash algorithm used by the certificate fingerprint.

public NuGetHashAlgorithm? FingerprintAlgorithm { get; init; }

Property Value

NuGetHashAlgorithm?

Name

The trusted signer entry name.

public string? Name { get; init; }

Property Value

string?

Operation

The operation performed by the command.

public NuGetTrustedSignerOperation Operation { get; init; }

Property Value

NuGetTrustedSignerOperation

Owners

Repository owners allowed by the trusted signer.

public IReadOnlyList<string> Owners { get; init; }

Property Value

IReadOnlyList<string>

Package

A signed package used to identify the author or repository certificate.

public string? Package { get; init; }

Property Value

string?

Repository

Adds the package repository as the trusted signer.

public bool Repository { get; init; }

Property Value

bool

ServiceIndex

The repository service-index URL.

public string? ServiceIndex { get; init; }

Property Value

string?