10 overrides of KeySize
System.Security.Cryptography (10)
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (1)
50public override int KeySize
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
61public override int KeySize
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (1)
228public override int KeySize
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (1)
42public override int KeySize
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (1)
160public override int KeySize
System\Security\Cryptography\DSAWrapper.cs (1)
119public override int KeySize
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
122public override int KeySize
System\Security\Cryptography\ECDsaWrapper.cs (1)
162public override int KeySize
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (1)
160public override int KeySize
System\Security\Cryptography\RSAWrapper.cs (1)
20public override int KeySize
16 writes to KeySize
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (2)
46base.KeySize = keySize; 60base.KeySize = value;
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
44base.KeySize = keySize; 75base.KeySize = value;
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (2)
62base.KeySize = keySize; 240base.KeySize = value;
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (2)
38base.KeySize = keySize; 52base.KeySize = value;
System\Security\Cryptography\DSA.cs (1)
54dsa.KeySize = keySizeInBits;
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (1)
169_impl.KeySize = value;
System\Security\Cryptography\DSAWrapper.cs (1)
122set => _wrapped.KeySize = value;
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
125set => _wrapped.KeySize = value;
System\Security\Cryptography\ECDsaWrapper.cs (1)
165set => _wrapped.KeySize = value;
System\Security\Cryptography\RSA.cs (1)
35rsa.KeySize = keySizeInBits;
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (1)
163set { _impl.KeySize = value; }
System\Security\Cryptography\RSAWrapper.cs (1)
23set => _wrapped.KeySize = value;
40 references to KeySize
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (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)
792if (rsa.KeySize < minimumKeySize)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)
System.Security.Cryptography (20)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
65return base.KeySize;
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (1)
232return base.KeySize;
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
252ecdsa.KeySize);
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (1)
162get { return _impl.KeySize; }
System\Security\Cryptography\DSAWrapper.cs (1)
121get => _wrapped.KeySize;
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
124get => _wrapped.KeySize;
System\Security\Cryptography\ECDsa.cs (2)
1250int fieldSizeBits = KeySize; 1257fieldSizeBits = KeySize;
System\Security\Cryptography\ECDsaWrapper.cs (1)
164get => _wrapped.KeySize;
System\Security\Cryptography\RSA.cs (7)
74/// <see cref="AsymmetricAlgorithm.KeySize" /> returned a value that is not a possible RSA key size. 78if (KeySize <= 0) 86return (KeySize + 7) >>> 3; 147/// The length of data is too long for the combination of <see cref="AsymmetricAlgorithm.KeySize" /> and the selected padding. 197/// The length of data is too long for the combination of <see cref="AsymmetricAlgorithm.KeySize" /> and the selected padding. 730int rentSize = KeySize / 4; 773int rentSize = checked(5 * KeySize / 8);
System\Security\Cryptography\RSA.Xml.cs (1)
101int keySizeDiv6 = KeySize / 6;
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (1)
162get { return _impl.KeySize; }
System\Security\Cryptography\RSAWrapper.cs (1)
22get => _wrapped.KeySize;
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
579sb.Append(pubRsa.KeySize);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
201int keySize = signer.Key.KeySize;
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
198cek = CryptoPool.Rent(privateKey.KeySize / 8);
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (1)
150byte[] rented = CryptoPool.Rent(dsa.KeySize / 8);
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (2)
79int fieldSize = (key.KeySize + 7) / 8; 160int fieldSize = (key.KeySize + 7) / 8;
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (1)
126byte[] signature = new byte[privateKey.KeySize / 8];
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
792if (rsa.KeySize < minimumKeySize)