Table of Contents

Class NuGetSign

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Signs NuGet packages.

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

Inheritance

Implements

Properties

AllowUntrustedRoot

Allows a certificate chain whose root is not trusted.

public bool AllowUntrustedRoot { get; init; }

Property Value

bool

CertificateFingerprint

The certificate fingerprint used to find or trust a certificate.

public string? CertificateFingerprint { get; init; }

Property Value

string?

CertificatePassword

The redacted password for the certificate file.

public Secret? CertificatePassword { get; init; }

Property Value

Secret?

CertificatePath

The certificate file used for signing.

public AbsolutePath? CertificatePath { get; init; }

Property Value

AbsolutePath?

CertificateStoreLocation

The Windows certificate store location searched for the signing certificate.

public NuGetCertificateStoreLocation? CertificateStoreLocation { get; init; }

Property Value

NuGetCertificateStoreLocation?

CertificateStoreName

The Windows certificate store name searched for the signing certificate.

public string? CertificateStoreName { get; init; }

Property Value

string?

CertificateSubjectName

The subject name used to find the signing certificate.

public string? CertificateSubjectName { get; init; }

Property Value

string?

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

HashAlgorithm

The hash algorithm used for the package signature.

public NuGetHashAlgorithm? HashAlgorithm { get; init; }

Property Value

NuGetHashAlgorithm?

OutputDirectory

The directory that receives signed packages.

public AbsolutePath? OutputDirectory { get; init; }

Property Value

AbsolutePath?

Overwrite

Replaces an existing package signature or output file.

public bool Overwrite { get; init; }

Property Value

bool

Packages

Package paths or wildcard patterns processed by the command.

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

Property Value

IReadOnlyList<string>

Timestamper

The RFC 3161 timestamp server URL.

public string? Timestamper { get; init; }

Property Value

string?

TimestampHashAlgorithm

The hash algorithm used for the timestamp.

public NuGetHashAlgorithm? TimestampHashAlgorithm { get; init; }

Property Value

NuGetHashAlgorithm?