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