40 references to SignatureException
NuGet.Commands (1)
SignCommand\SignCommandRunner.cs (1)
146
throw new
SignatureException
(Strings.Error_UnableToSignPackage);
NuGet.Packaging (39)
PackageArchiveReader.cs (2)
442
throw new
SignatureException
(Strings.SignedPackageNotSignedOnVerify);
542
throw new
SignatureException
(Strings.SignedPackageUnableToAccessSignature);
Signing\Cms\ManagedCmsWrapper.cs (1)
78
throw new
SignatureException
(Strings.Error_NotOneRepositoryCounterSignature);
Signing\Cms\NativeCms.cs (1)
290
throw new
SignatureException
(Strings.Error_NotOneRepositoryCounterSignature);
Signing\Content\KeyPairFileReader.cs (2)
98
throw new
SignatureException
(Strings.InvalidSignatureContent);
103
throw new
SignatureException
(Strings.InvalidSignatureContent);
Signing\Content\KeyPairFileUtility.cs (1)
20
throw new
SignatureException
($"Missing expected key: {key}");
Signing\Content\SignatureContent.cs (3)
129
throw new
SignatureException
(Strings.UnableToReadPackageHashInformation);
140
throw new
SignatureException
(Strings.InvalidSignatureContent);
174
throw new
SignatureException
(Strings.InvalidSignatureContent);
Signing\Package\SignedPackageArchive.cs (2)
47
throw new
SignatureException
(Strings.SignedPackageUnableToAccessSignature);
75
throw new
SignatureException
(Strings.SignedPackageNotSignedOnRemove);
Signing\SignatureException.cs (1)
42
:
this
(string.Empty)
Signing\Signatures\AlgorithmIdentifier.cs (1)
47
throw new
SignatureException
(Strings.SigningCertificateV2Invalid);
Signing\Signatures\CommitmentTypeIndication.cs (1)
71
throw new
SignatureException
(Strings.CommitmentTypeIndicationAttributeInvalid);
Signing\Signatures\CommitmentTypeQualifier.cs (1)
49
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Signatures\EssCertId.cs (1)
54
throw new
SignatureException
(Strings.SigningCertificateInvalid);
Signing\Signatures\EssCertIdV2.cs (1)
88
throw new
SignatureException
(Strings.SigningCertificateV2Invalid);
Signing\Signatures\GeneralName.cs (2)
90
throw new
SignatureException
(Strings.InvalidAsn1);
103
throw new
SignatureException
(Strings.UnsupportedAsn1);
Signing\Signatures\IssuerSerial.cs (1)
95
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Signatures\NuGetPackageOwners.cs (2)
54
throw new
SignatureException
(Strings.NuGetPackageOwnersInvalid);
62
throw new
SignatureException
(Strings.NuGetPackageOwnersInvalid);
Signing\Signatures\NuGetV3ServiceIndexUrl.cs (3)
51
throw new
SignatureException
(Strings.NuGetV3ServiceIndexUrlInvalid);
58
throw new
SignatureException
(Strings.NuGetV3ServiceIndexUrlInvalid);
63
throw new
SignatureException
(Strings.NuGetV3ServiceIndexUrlInvalid);
Signing\Signatures\PolicyInformation.cs (2)
70
throw new
SignatureException
(Strings.InvalidAsn1);
79
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Signatures\PolicyQualifierInfo.cs (1)
55
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Signatures\SigningCertificate.cs (1)
51
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Signatures\SigningCertificateV2.cs (1)
66
throw new
SignatureException
(Strings.InvalidAsn1);
Signing\Timestamp\TimestampException.cs (1)
15
:
base
(string.Empty)
Signing\Utility\AttributeUtility.cs (4)
64
throw new
SignatureException
(Strings.CommitmentTypeIndicationAttributeInvalidCombination);
125
throw new
SignatureException
(
134
throw new
SignatureException
(
197
throw new
SignatureException
(
Signing\Utility\CertificateUtility.cs (1)
349
throw new
SignatureException
(Strings.CertificateChainValidationFailed);
Signing\Utility\SignatureUtility.cs (2)
668
throw new
SignatureException
(Strings.CertificateChainValidationFailed);
687
throw new
SignatureException
(string.Format(CultureInfo.CurrentCulture, Strings.SignatureContainsInvalidAttribute, attribute.Oid.Value));