22 references to Format
System.Security.Cryptography.Pkcs (22)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
172
throw new PlatformNotSupportedException(SR.
Format
(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
50
SR.
Format
(SR.Cryptography_UnknownHashAlgorithm, algorithmValue));
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (3)
137
throw new CryptographicException(SR.
Format
(SR.Cryptography_UnknownHashAlgorithm, hashOid));
212
throw new CryptographicException(SR.
Format
(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmName), ex);
228
SR.
Format
(SR.Cryptography_UnknownAlgorithmIdentifier, algorithmId));
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (9)
81
SR.
Format
(
144
SR.
Format
(
244
SR.
Format
(
276
SR.
Format
(
526
SR.
Format
(
575
SR.
Format
(SR.Cryptography_AlgorithmNotSupported, algId));
738
SR.
Format
(
756
SR.
Format
(
1107
throw new PlatformNotSupportedException(SR.
Format
(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (3)
40
throw new ArgumentException(SR.
Format
(SR.Arg_EmptyOrNullString_Named, "asnEncodedData.Oid"), nameof(asnEncodedData));
43
throw new ArgumentException(SR.
Format
(SR.Arg_EmptyOrNullString_Named, "oid.Value"), nameof(asnEncodedData));
45
throw new ArgumentException(SR.
Format
(SR.Arg_EmptyOrNullString_Named, "oid.Value"), nameof(asnEncodedData));
System\Security\Cryptography\Pkcs\CmsRecipient.cs (1)
59
throw new CryptographicException(SR.
Format
(SR.Cryptography_Cms_Invalid_Subject_Identifier_Type, recipientIdentifierType));
System\Security\Cryptography\Pkcs\CmsSignature.MLDsa.cs (1)
48
SR.
Format
(SR.Cryptography_UnknownAlgorithmIdentifier, _signatureAlgorithm));
System\Security\Cryptography\Pkcs\CmsSignature.SlhDsa.cs (1)
59
SR.
Format
(SR.Cryptography_UnknownAlgorithmIdentifier, _signatureAlgorithm));
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
73
throw new ArgumentException(SR.
Format
(SR.Cryptography_Cms_Invalid_Subject_Identifier_Type, value));
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
49
throw new ArgumentException(SR.
Format
(SR.Arg_EmptyOrNullString_Named, "contentInfo.Content"), nameof(contentInfo));