4 overrides of KeySize
System.Security.Cryptography (4)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (4)
929public override int KeySize { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } } 1139public override int KeySize { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } } 1319public override int KeySize { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } } 2514public override int KeySize { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } }
21 references to KeySize
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
96if (rsa.KeySize < minimumKeySize)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseKey.cs (2)
177return 2 * ((_ecdsaKey!.KeySize + 7) / 8); 179return (_rsaKey!.KeySize + 7) / 8;
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
199cek = CryptoPool.Rent(privateKey.KeySize / 8);
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (1)
151byte[] rented = CryptoPool.Rent(dsa.KeySize / 8);
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (2)
80int fieldSize = (key.KeySize + 7) / 8; 162int fieldSize = (key.KeySize + 7) / 8;
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (1)
123byte[] signature = new byte[privateKey.KeySize / 8];
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
837if (rsa.KeySize < minimumKeySize)