53 references to SignatureException
NuGet.Packaging (52)
Signing\Archive\SignedPackageArchiveIOUtility.cs (4)
253throw new SignatureException(NuGetLogCode.NU3005, Strings.MultiplePackageSignatureFiles); 280throw new SignatureException(NuGetLogCode.NU3005, Strings.NoPackageSignatureFile); 480throw new SignatureException( 502throw new SignatureException(
Signing\Archive\SignedPackageArchiveUtility.cs (2)
132throw new SignatureException(NuGetLogCode.NU3005, Strings.InvalidPackageSignatureFile); 456throw new SignatureException(NuGetLogCode.NU3003, Strings.SignedPackageNotSignedOnVerify);
Signing\Authoring\X509SignatureProvider.cs (2)
146throw new SignatureException(NuGetLogCode.NU3001, exceptionBuilder.ToString()); 182throw new SignatureException(NuGetLogCode.NU3001, exceptionBuilder.ToString());
Signing\Cms\ManagedCmsWrapper.cs (5)
28throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature); 38throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature); 60throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature); 74throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature); 92throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature);
Signing\Content\SignatureContent.cs (1)
179throw new SignatureException(NuGetLogCode.NU3007, Strings.UnsupportedSignatureFormatVersion);
Signing\Package\SignedPackageArchive.cs (1)
52throw new SignatureException(NuGetLogCode.NU3001, Strings.SignedPackageAlreadySigned);
Signing\SignatureException.cs (2)
37: this(NuGetLogCode.NU3000, message) 49: this(code, message)
Signing\Signatures\PrimarySignature.cs (2)
59throw new SignatureException(NuGetLogCode.NU3009, Strings.Error_NotOnePrimarySignature); 125throw new SignatureException(NuGetLogCode.NU3011, Strings.InvalidPrimarySignature);
Signing\Signatures\RepositoryCountersignature.cs (3)
54throw new SignatureException(NuGetLogCode.NU3032, Strings.Error_NotOneRepositoryCounterSignature); 59throw new SignatureException(NuGetLogCode.NU3033, Strings.Error_RepositorySignatureMustNotHaveARepositoryCountersignature); 86throw new SignatureException(NuGetLogCode.NU3031, Strings.InvalidRepositoryCountersignature);
Signing\Signatures\Signature.cs (1)
414throw new SignatureException(NuGetLogCode.NU3029, Strings.InvalidTimestampSignature);
Signing\Timestamp\TimestampException.cs (1)
20: base(code, message)
Signing\Utility\CertificateChainUtility.cs (1)
133throw new SignatureException(logCode, Strings.CertificateChainValidationFailed);
Signing\Utility\SignatureUtility.cs (18)
174throw new SignatureException(NuGetLogCode.NU3000, Strings.PrimarySignatureHasNoTimestamp); 220throw new SignatureException(NuGetLogCode.NU3000, Strings.RepositoryCountersignatureHasNoTimestamp); 344throw new SignatureException(errors.InvalidSignature, errors.InvalidSignatureString); 382throw new SignatureException(errors.NoCertificate, errors.NoCertificateString); 437throw new SignatureException( 447throw new SignatureException( 461throw new SignatureException( 471throw new SignatureException( 490throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateAttributeMustNotBePresent); 495throw new SignatureException( 507throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateV1OrV2AttributeMustBePresent); 519throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateV2Invalid); 528throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateV2UnsupportedHashAlgorithm); 534throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateV2CertificateNotFound); 545throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateInvalid); 550throw new SignatureException(errors.InvalidSignature, Strings.SigningCertificateCertificateNotFound); 563throw new SignatureException(errors.ChainBuildingFailed, Strings.CertificateChainBuildFailed); 580throw new SignatureException(errors.InvalidSignature, errors.InvalidSignatureString);
Signing\Utility\SigningUtility.cs (9)
35throw new SignatureException(NuGetLogCode.NU3013, Strings.SigningError_CertificateHasUnsupportedSignatureAlgorithm); 40throw new SignatureException(NuGetLogCode.NU3014, Strings.SigningError_CertificateFailsPublicKeyLengthRequirement); 45throw new SignatureException(NuGetLogCode.NU3015, Strings.SigningError_CertificateHasLifetimeSigningEKU); 50throw new SignatureException(NuGetLogCode.NU3017, Strings.SigningError_NotYetValid); 194throw new SignatureException(NuGetLogCode.NU3006, Strings.ErrorZip64NotSupported); 202throw new SignatureException(NuGetLogCode.NU3039, Strings.SigningWouldRequireZip64); 212throw new SignatureException(NuGetLogCode.NU3033, Strings.Error_RepositorySignatureMustNotHaveARepositoryCountersignature); 217throw new SignatureException(NuGetLogCode.NU3032, Strings.SignedPackagePackageAlreadyCountersigned); 225throw new SignatureException(NuGetLogCode.NU3001, Strings.SignedPackageAlreadySigned);
NuGet.Protocol (1)
Plugins\PluginPackageReader.cs (1)
1149throw new SignatureException(NuGetLogCode.NU3041, Strings.Plugin_DownloadNotSupportedSinceUnsignedNotAllowed);