471 references to SR
System.Security.Cryptography.Pkcs (471)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Asn.cs (1)
30throw new CryptographicException(SR.Cryptography_Cms_InvalidMessageType);
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (9)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 105throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 130throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 172throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(RC2))); 201throw new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm, algorithmIdentifier);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
89throw new CryptographicException(SR.Cryptography_Cms_InvalidMessageType);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (3)
51exception = new CryptographicException(SR.Cryptography_Cms_Ktri_RSARequired); 85SR.Cryptography_Cms_RecipientType_NotSupported, 168throw new CryptographicException(SR.Cryptography_Cms_InvalidSymmetricKey, ce);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
115SR.Cryptography_Cms_UnknownAlgorithm, 195throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Exceptions.cs (2)
13return new CryptographicException(SR.Cryptography_Cms_RecipientNotFound); 34return new CryptographicException(SR.Cryptography_Cms_InvalidMessageType);
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyAgree.cs (2)
45throw new InvalidOperationException(SR.Cryptography_Cms_Key_Agree_Date_Not_Available); 70throw new InvalidOperationException(SR.Cryptography_Cms_Key_Agree_Date_Not_Available);
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (6)
47exception = new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 55SR.Cryptography_Cms_UnknownAlgorithm, 87SR.Cryptography_Cms_UnknownAlgorithm, 136SR.Cryptography_Cms_Invalid_Subject_Identifier_Type, 169throw new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm); 189exception = new CryptographicException(SR.Cryptography_Cms_Signing_RequiresPrivateKey);
Internal\Cryptography\PkcsHelpers.cs (6)
67throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, oidValue); 347exception = new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 360exception = new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 368exception = new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 377exception = new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 397SR.Cryptography_Cms_UnknownAlgorithm,
src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (13)
70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 120throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 135throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 185throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 207throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 235throw new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm, algName.Name); 326throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 333throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 395throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AlgorithmIdentifierAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 141throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 193throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.xml.cs (9)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 45throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 87throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 144throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 153throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 174throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 191throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 204throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DirectoryStringAsn.xml.cs (3)
99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 140throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 152throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EdiPartyNameAsn.xml.cs (2)
57throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 74throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (5)
116throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 133throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 177throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 212throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OaepParamsAsn.xml.cs (2)
119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 136throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\OtherNameAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBES2Params.xml.cs (2)
47throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2Params.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (2)
112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\CertBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (3)
50SR.Format(SR.Cryptography_UnknownHashAlgorithm, algorithmValue)); 55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.xml.cs (2)
55throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 72throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SafeBagAsn.xml.cs (4)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\SecretBagAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\CertificateChoiceAsn.xml.cs (6)
81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 106throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 131throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 156throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 188throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\ContentInfoAsn.xml.cs (8)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 127throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 159throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 176throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncapsulatedContentInfoAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 44throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedDataAsn.xml.cs (2)
63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\IssuerAndSerialNumberAsn.xml.cs (3)
41throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 64throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 81throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\OtherCertificateFormat.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignedDataAsn.xml.cs (3)
67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 119throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\SignerInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 92throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 109throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (5)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 179throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 202throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 219throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.manual.cs (7)
15throw new CryptographicException(SR.Cryptography_Pkcs_InvalidSignatureParameters); 21SR.Cryptography_Pkcs_PssParametersMgfNotSupported, 27throw new CryptographicException(SR.Cryptography_Pkcs_InvalidSignatureParameters); 38SR.Format( 39SR.Cryptography_Pkcs_PssParametersMgfHashMismatch, 54SR.Format( 55SR.Cryptography_Pkcs_PssParametersSaltMismatch,
src\libraries\Common\src\System\Security\Cryptography\Asn1\PssParamsAsn.xml.cs (2)
150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 167throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 134throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 151throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SubjectPublicKeyInfoAsn.xml.cs (4)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 129throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 146throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (6)
50throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 86throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 165throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 200throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 217throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\AsnWriter\AsnWriterExtensions.cs (2)
20throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObject.cs (3)
40throw new ArgumentException(SR.Argument_InvalidOidValue, nameof(values)); 45throw new InvalidOperationException(SR.Format(SR.InvalidOperation_WrongOidInAsnCollection, oid.Value, asn.Oid.Value));
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (7)
54throw new InvalidOperationException(SR.InvalidOperation_DuplicateItemNotAllowed); 63throw new CryptographicException(SR.Cryptography_Pkcs9_MultipleSigningTimeNotAllowed); 138throw new ArgumentException(SR.Arg_RankMultiDimNotSupported); 140throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 142throw new ArgumentException(SR.Argument_InvalidOffLen); 156throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 158throw new ArgumentException(SR.Argument_InvalidOffLen);
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (8)
138throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashOid)); 213throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex); 231SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, algorithmId)); 267throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, ace); 272throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (8)
34throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 39throw new CryptographicException(SR.Cryptography_NotValidPublicOrPrivateKey); 63throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 68throw new CryptographicException(SR.Cryptography_NotValidPublicOrPrivateKey); 90throw new CryptographicException(SR.Cryptography_NotValidPublicOrPrivateKey); 99throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 116throw new CryptographicException(SR.Cryptography_NotValidPublicOrPrivateKey); 124throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (11)
73throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 109throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 254throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 279throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 304throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 327throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 346throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 359throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e); 382throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 395throw new CryptographicException(SR.Cryptography_Pkcs8_EncryptedReadFailed, e);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (42)
33return new CryptographicException(SR.Cryptography_AlgKdfRequiresChars, algId); 60SR.Cryptography_UnknownHashAlgorithm, 75SR.Cryptography_UnknownAlgorithmIdentifier, 108SR.Format( 109SR.Cryptography_UnknownAlgorithmIdentifier, 171SR.Format( 172SR.Cryptography_UnknownAlgorithmIdentifier, 271SR.Format( 272SR.Cryptography_UnknownAlgorithmIdentifier, 303SR.Format( 304SR.Cryptography_UnknownAlgorithmIdentifier, 329throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, prf.Name); 545throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 553SR.Format( 554SR.Cryptography_UnknownAlgorithmIdentifier, 605SR.Format(SR.Cryptography_AlgorithmNotSupported, algId)); 633throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 656throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 674throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 681throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 692throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 711throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 723throw new CryptographicException(SR.Cryptography_UnknownAlgorithmIdentifier, algId); 733throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 749throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 756throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 768throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 778SR.Format( 779SR.Cryptography_UnknownAlgorithmIdentifier, 786throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 796SR.Format( 797SR.Cryptography_UnknownAlgorithmIdentifier, 806throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 834throw new CryptographicException(SR.Argument_InvalidValue, e); 857throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 864throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 869throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 908throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 1137throw new CryptographicException(SR.Argument_InvalidValue); 1148throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (9)
49throw new ArgumentException(SR.Cryptography_Pkcs12_CannotProcessEncryptedSafeContents, nameof(safeContents)); 51throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxIsSealed); 93throw new ArgumentException(SR.Cryptography_Pkcs12_CannotProcessEncryptedSafeContents, nameof(safeContents)); 95throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxIsSealed); 119throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxIsSealed); 130throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxMustBeSealed); 156throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxIsSealed); 307throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxIsSealed); 353throw new InvalidOperationException(SR.Cryptography_Pkcs12_PfxMustBeSealed);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (3)
84throw new InvalidOperationException(SR.Cryptography_Pkcs12_CertBagNotX509); 95throw new CryptographicException(SR.Argument_InvalidOidValue); 112throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (6)
42SR.Format( 43SR.Cryptography_Pkcs12_WrongModeForVerify, 66throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 98throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 104throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 150throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (15)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 68throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 80throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 92throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 105throw new ArgumentException(SR.Cryptography_Pkcs12_CannotProcessEncryptedSafeContents, nameof(safeContents)); 107throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 134throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 162throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsReadOnly); 209SR.Format( 210SR.Cryptography_Pkcs12_WrongModeForDecrypt, 220throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 228throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 233throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 269throw new InvalidOperationException(SR.Cryptography_Pkcs12_SafeContentsIsEncrypted); 303throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 192throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 223throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (7)
40throw new ArgumentException(SR.Format(SR.Arg_EmptyOrNullString_Named, "asnEncodedData.Oid"), nameof(asnEncodedData)); 43throw new ArgumentException(SR.Format(SR.Arg_EmptyOrNullString_Named, "oid.Value"), nameof(asnEncodedData)); 45throw new ArgumentException(SR.Format(SR.Arg_EmptyOrNullString_Named, "oid.Value"), nameof(asnEncodedData)); 79throw new ArgumentException(SR.Cryptography_Pkcs9_AttributeMismatch);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
101throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name);
System\Security\Cryptography\Pkcs\Asn1\CadesIssuerSerial.xml.cs (2)
56throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 73throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EnvelopedDataAsn.xml.cs (2)
79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 96throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EssCertId.xml.cs (2)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 70throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (2)
84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 101throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (2)
71throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\KeyTransRecipientInfoAsn.xml.cs (2)
52throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 69throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\MessageImprint.xml.cs (5)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 115throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 137throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 154throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (2)
102throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 114throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorInfoAsn.xml.cs (3)
53throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 80throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 97throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OriginatorPublicKeyAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\OtherKeyAttributeAsn.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 43throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 84throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PkiStatusInfo.xml.cs (3)
46throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 76throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 93throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PolicyInformation.xml.cs (3)
33throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\PolicyQualifierInfo.xml.cs (4)
32throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 40throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 62throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 79throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientEncryptedKeyAsn.xml.cs (2)
48throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientInfoAsn.xml.cs (2)
91throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 103throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\RecipientKeyIdentifier.xml.cs (2)
60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 77throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.xml.cs (2)
65throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 82throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampReq.xml.cs (3)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 115throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 132throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TimeStampResp.xml.cs (3)
36throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 60throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 77throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\Rfc3161TstInfo.xml.cs (8)
59throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 130throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 147throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 300throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 341throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 356throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 379throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 396throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SignedAttributesSet.xml.cs (2)
88throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 100throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateAsn.xml.cs (2)
68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\Asn1\SigningCertificateV2Asn.xml.cs (2)
68throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 85throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e);
System\Security\Cryptography\Pkcs\CmsRecipient.cs (3)
59throw new CryptographicException(SR.Format(SR.Cryptography_Cms_Invalid_Subject_Identifier_Type, recipientIdentifierType)); 83throw new CryptographicException(SR.Cryptography_Cms_Recipient_RSARequired_RSAPaddingModeSupplied);
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (6)
42throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 87throw new ArgumentException(SR.Arg_RankMultiDimNotSupported); 89throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 91throw new ArgumentException(SR.Argument_InvalidOffLen); 105throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 107throw new ArgumentException(SR.Argument_InvalidOffLen);
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (2)
59SR.Format( 60SR.Cryptography_Cms_InvalidSignerHashForSignatureAlg,
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (2)
61SR.Format( 62SR.Cryptography_Cms_InvalidSignerHashForSignatureAlg,
System\Security\Cryptography\Pkcs\CmsSignature.MLDsa.cs (2)
48SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, _signatureAlgorithm));
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (6)
62SR.Format( 63SR.Cryptography_Cms_InvalidSignerHashForSignatureAlg, 206throw new CryptographicException(SR.Cryptography_Pkcs_InvalidSignatureParameters); 311throw new CryptographicException(SR.Cryptography_Pkcs_PssParametersMissing); 322SR.Format( 323SR.Cryptography_Pkcs_PssParametersHashMismatch,
System\Security\Cryptography\Pkcs\CmsSignature.SlhDsa.cs (2)
59SR.Format(SR.Cryptography_UnknownAlgorithmIdentifier, _signatureAlgorithm));
System\Security\Cryptography\Pkcs\CmsSigner.cs (9)
60throw new ArgumentException(SR.Argument_InvalidRsaSignaturePadding, nameof(value)); 73throw new ArgumentException(SR.Format(SR.Cryptography_Cms_Invalid_Subject_Identifier_Type, value)); 188throw new ArgumentException(SR.Argument_InvalidRsaSignaturePadding, nameof(signaturePadding)); 233throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert); 238throw new CryptographicException(SR.Cryptography_Cms_Signing_RequiresPrivateKey); 405throw new CryptographicException(SR.Cryptography_Cms_CannotDetermineSignatureAlgorithm); 429throw new CryptographicException(SR.Cryptography_Cms_CannotDetermineSignatureAlgorithm); 474throw new CryptographicException(SR.Cryptography_Cms_IncompleteCertChain);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (3)
98throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoRecipients); 115throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotEncrypted); 273throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotEncrypted);
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (5)
34throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 62throw new ArgumentException(SR.Arg_RankMultiDimNotSupported); 64throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 66throw new ArgumentException(SR.Argument_InvalidOffLen); 79throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (9)
107throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 120SR.Format( 121SR.Cryptography_TimestampReq_Failure, 134throw new CryptographicException(SR.Cryptography_TimestampReq_BadResponse); 396throw new CryptographicException(SR.Cryptography_BadHashValue); 409throw new CryptographicException(SR.Cryptography_TimestampReq_BadResponse); 432throw new CryptographicException(SR.Cryptography_TimestampReq_BadNonce); 453throw new CryptographicException(SR.Cryptography_TimestampReq_NoCertFound); 468throw new CryptographicException(SR.Cryptography_TimestampReq_UnexpectedCertFound);
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (2)
67throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); 291throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
System\Security\Cryptography\Pkcs\SignedCms.cs (19)
49throw new ArgumentException(SR.Format(SR.Arg_EmptyOrNullString_Named, "contentInfo.Content"), nameof(contentInfo)); 120throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotSigned); 221throw new CryptographicException(SR.Cryptography_Cms_InvalidMessageType); 269throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 298throw new CryptographicException(SR.Cryptography_Cms_Sign_Empty_Content); 307throw new CryptographicException(SR.Cryptography_Cms_Sign_No_Signature_First_Signer); 320throw new InvalidOperationException(SR.Cryptography_Cms_NoSignerCertSilent); 324throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert); 380throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotSigned); 385throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 403throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 434throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding, e); 594throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotSigned); 610throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 629throw new InvalidOperationException(SR.Cryptography_Cms_MessageNotSigned); 636throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 670throw new CryptographicException(SR.Cryptography_Cms_CertificateAlreadyInCollection); 719throw new CryptographicException(SR.Cryptography_Cms_NoCertificateFound);
System\Security\Cryptography\Pkcs\SignerInfo.cs (25)
112throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 130throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 138throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 174throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 243throw new CryptographicException(SR.Cryptography_Cms_NoAttributeFound); 289throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert); 295throw new CryptographicException(SR.Cryptography_Cms_NoCounterCounterSigner); 305throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 363throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 371throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 404throw new CryptographicException(SR.Cryptography_Cms_NoSignerAtIndex); 435throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 443throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 464throw new CryptographicException(SR.Cryptography_Cms_SignerNotFound); 475throw new CryptographicException(SR.Cryptography_Pkcs_InvalidSignatureParameters); 480throw new CryptographicException(SR.Cryptography_BadSignature); 643throw new CryptographicException(SR.Cryptography_BadHashValue); 650throw new CryptographicException(SR.Cryptography_BadHashValue); 665throw new CryptographicException(SR.Cryptography_Cms_MissingAuthenticatedAttribute); 731throw new CryptographicException(SR.Cryptography_Cms_MissingAuthenticatedAttribute); 781throw new CryptographicException(SR.Cryptography_Cms_MissingAuthenticatedAttribute); 850throw new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm, SignatureAlgorithm.Value); 859throw new CryptographicException(SR.Cryptography_BadSignature); 874throw new CryptographicException(SR.Cryptography_Cms_TrustFailure, status.StatusInformation); 904throw new CryptographicException(SR.Cryptography_Cms_WrongKeyUsage);
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (3)
60throw new ArgumentException(SR.Arg_RankMultiDimNotSupported, nameof(array)); 62throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexMustBeLess); 64throw new ArgumentException(SR.Argument_InvalidOffLen);