20 references to NamedCurves
Microsoft.AspNetCore.Identity (3)
Passkeys\CredentialPublicKey.cs (3)
180COSEEllipticCurve.P256 => ECCurve.NamedCurves.nistP256, 181COSEEllipticCurve.P384 => ECCurve.NamedCurves.nistP384, 182COSEEllipticCurve.P521 => ECCurve.NamedCurves.nistP521,
Microsoft.AspNetCore.Identity.Test (3)
Passkeys\CredentialKeyPair.cs (3)
46COSEAlgorithmIdentifier.ES256 => GenerateEcKeyPair(alg, ECCurve.NamedCurves.nistP256, COSEEllipticCurve.P256), 47COSEAlgorithmIdentifier.ES384 => GenerateEcKeyPair(alg, ECCurve.NamedCurves.nistP384, COSEEllipticCurve.P384), 48COSEAlgorithmIdentifier.ES512 => GenerateEcKeyPair(alg, ECCurve.NamedCurves.nistP521, COSEEllipticCurve.P521),
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
KestrelConfigurationLoaderTests.cs (1)
874using (var ecdsa = ECDsa.Create(ECCurve.NamedCurves.nistP256))
System.Security.Cryptography (8)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.cs (5)
782ECCurve.NamedCurves.nistP256, 794ECCurve.NamedCurves.nistP384, 806ECCurve.NamedCurves.nistP521, 818ECCurve.NamedCurves.brainpoolP256r1, 830ECCurve.NamedCurves.brainpoolP384r1,
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (3)
15internal static Oid secp256r1Oid => field ??= new Oid(secp256r1, nameof(ECCurve.NamedCurves.nistP256)); 16internal static Oid secp384r1Oid => field ??= new Oid(secp384r1, nameof(ECCurve.NamedCurves.nistP384)); 17internal static Oid secp521r1Oid => field ??= new Oid(secp521r1, nameof(ECCurve.NamedCurves.nistP521));
System.Security.Cryptography.Pkcs (3)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (3)
15internal static Oid secp256r1Oid => field ??= new Oid(secp256r1, nameof(ECCurve.NamedCurves.nistP256)); 16internal static Oid secp384r1Oid => field ??= new Oid(secp384r1, nameof(ECCurve.NamedCurves.nistP384)); 17internal static Oid secp521r1Oid => field ??= new Oid(secp521r1, nameof(ECCurve.NamedCurves.nistP521));
WebTransportInteractiveSampleApp (1)
Program.cs (1)
182using var ec = ECDsa.Create(ECCurve.NamedCurves.nistP256);
WebTransportSampleApp (1)
Program.cs (1)
68using var ec = ECDsa.Create(ECCurve.NamedCurves.nistP256);