2 types derived from ECDsa
System.Security.Cryptography (2)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (2)
1307public sealed partial class ECDsaCng : System.Security.Cryptography.ECDsa 1351public sealed partial class ECDsaOpenSsl : System.Security.Cryptography.ECDsa
40 references to ECDsa
Microsoft.AspNetCore.Identity (3)
Passkeys\CredentialPublicKey.cs (3)
15private readonly ECDsa? _ecdsa; 109private static ECDsa ParseECDsa(COSEKeyType kty, Ctap2CborReader reader) 134return ECDsa.Create(ecParams);
Microsoft.AspNetCore.Identity.Test (5)
Passkeys\CredentialKeyPair.cs (5)
14private readonly ECDsa? _ecdsa; 26private CredentialKeyPair(ECDsa ecdsa, COSEAlgorithmIdentifier alg, COSEEllipticCurve curve) 98var ecdsa = ECDsa.Create(curve); 133private static byte[] EncodeCoseEcPublicKey(ECDsa ecdsa, COSEAlgorithmIdentifier alg, COSEEllipticCurve curve)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Certificates\CertificateConfigLoader.cs (2)
119using var ecdsa = ECDsa.Create();
netstandard (1)
netstandard.cs (1)
1874[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ECDsa))]
PresentationUI (1)
MS\Internal\Documents\DocumentSignatureManager.cs (1)
482using (ECDsa ecdsa = x509Certificate2.GetECDsaPrivateKey())
System.Core (1)
System.Core.cs (1)
223[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ECDsa))]
System.Security.Cryptography (11)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (11)
1252public static new System.Security.Cryptography.ECDsa Create() { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 1254public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECCurve curve) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 1256public static System.Security.Cryptography.ECDsa Create(System.Security.Cryptography.ECParameters parameters) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 1259public static new System.Security.Cryptography.ECDsa? Create(string algorithm) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3300public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3308public CertificateRequest(string subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3366public static System.Security.Cryptography.X509Certificates.X509Certificate2 CopyWithPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.ECDsa privateKey) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3367public static System.Security.Cryptography.ECDsa? GetECDsaPrivateKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3368public static System.Security.Cryptography.ECDsa? GetECDsaPublicKey(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 3434public System.Security.Cryptography.ECDsa? GetECDsaPublicKey() { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 4180public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForECDsa(System.Security.Cryptography.ECDsa key) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
24[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ECDsa))]
System.Security.Cryptography.Cose (6)
System\Security\Cryptography\Cose\CoseKey.cs (4)
25private ECDsa? _ecdsaKey; 45public CoseKey(ECDsa key, HashAlgorithmName hashAlgorithm) 71if (key is ECDsa ecdsaKey) 215private static int SignHashWithECDsa(ECDsa key, ReadOnlySpan<byte> hash, Span<byte> destination)
System\Security\Cryptography\Cose\CoseSigner.cs (2)
78if (key is not ECDsa) 81CoseKey = new CoseKey((ECDsa)key, hashAlgorithm);
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
81if (typeof(T) == typeof(ECDsa))
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (4)
41protected override bool VerifyKeyType(object key) => key is ECDsa; 67ECDsa? key = certificate.GetECDsaPublicKey(); 124using (GetSigningKey(privateKey, certificate, silent, ECDsaCertificateExtensions.GetECDsaPublicKey, out ECDsa? key)) 177using (ECDsa certKey = certificate.GetECDsaPublicKey()!)
WebTransportInteractiveSampleApp (2)
Program.cs (2)
182using var ec = ECDsa.Create(ECCurve.NamedCurves.nistP256);
WebTransportSampleApp (2)
Program.cs (2)
68using var ec = ECDsa.Create(ECCurve.NamedCurves.nistP256);