Table of Contents

Class TrustedSignerAllowListEntry

Namespace
NuGet.Packaging.Signing
Assembly
Chocolatey.NuGet.Packaging.dll
public sealed class TrustedSignerAllowListEntry : CertificateHashAllowListEntry
Inheritance
TrustedSignerAllowListEntry
Inherited Members

Constructors

TrustedSignerAllowListEntry(VerificationTarget, SignaturePlacement, string, HashAlgorithmName, bool, IReadOnlyList<string>)

public TrustedSignerAllowListEntry(VerificationTarget target, SignaturePlacement placement, string fingerprint, HashAlgorithmName algorithm, bool allowUntrustedRoot = false, IReadOnlyList<string> owners = null)

Parameters

target VerificationTarget
placement SignaturePlacement
fingerprint string
algorithm HashAlgorithmName
allowUntrustedRoot bool
owners IReadOnlyList<string>

Properties

AllowUntrustedRoot

Describe if the certificate should be allowed to chain to an untrusted certificate

public bool AllowUntrustedRoot { get; }

Property Value

bool

Owners

List of allowed owners for a repository signature

public IReadOnlyList<string> Owners { get; }

Property Value

IReadOnlyList<string>

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int