9 references to Author
NuGet.Commands (4)
TrustedSignersCommand\TrustedSignerActionsProvider.cs (2)
93if (!Enum.IsDefined(typeof(VerificationTarget), trustTarget) || (trustTarget != VerificationTarget.Repository && trustTarget != VerificationTarget.Author)) 98if (trustTarget == VerificationTarget.Author && owners != null && owners.Any())
TrustedSignersCommand\TrustedSignersCommandRunner.cs (1)
80trustTarget |= VerificationTarget.Author;
VerifyCommand\VerifyCommandRunner.cs (1)
60VerificationTarget.Author | VerificationTarget.Repository,
NuGet.Packaging (5)
Signing\TrustedSigners\TrustedSignersProvider.cs (1)
149return VerificationTarget.Author;
Signing\Utility\VerificationUtility.cs (1)
47return target.HasFlag(VerificationTarget.Author);
Signing\Verification\AllowListVerificationProvider.cs (1)
152return (target.HasFlag(VerificationTarget.Author) && signature is AuthorPrimarySignature) ||
Signing\Verification\VerificationAllowListEntry.cs (1)
22if (target == VerificationTarget.Author && placement.HasFlag(SignaturePlacement.Countersignature))
Signing\Verification\VerificationTarget.cs (1)
40All = Unknown | Author | Repository