7 types derived from ECDsa
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.cs (1)
8
public sealed partial class ECDsaCng :
ECDsa
, IRuntimeAlgorithm
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (1)
9
public sealed partial class ECDsaCng :
ECDsa
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.SignVerify.cs (1)
11
public sealed partial class ECDsaCng :
ECDsa
System\Security\Cryptography\ECDsaCng.cs (1)
11
public sealed partial class ECDsaCng :
ECDsa
System\Security\Cryptography\ECDsaCng.Key.cs (1)
9
public sealed partial class ECDsaCng :
ECDsa
System\Security\Cryptography\ECDsaWrapper.cs (1)
10
internal sealed partial class ECDsaWrapper :
ECDsa
System\Security\Cryptography\OpenSsl.NotSupported.cs (1)
124
public sealed class ECDsaOpenSsl :
ECDsa
74 references to ECDsa
Microsoft.AspNetCore.Identity (3)
Passkeys\CredentialPublicKey.cs (3)
15
private readonly
ECDsa
? _ecdsa;
149
private static
ECDsa
ParseECDsa(COSEKeyType kty, Ctap2CborReader reader)
174
return
ECDsa
.Create(ecParams);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Certificates\CertificateConfigLoader.cs (2)
156
using
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)
482
using (
ECDsa
ecdsa = x509Certificate2.GetECDsaPrivateKey())
System.Core (1)
System.Core.cs (1)
224
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDsa
))]
System.Security.Cryptography (53)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (5)
30
private
ECDsa
_ecdsa;
37
ECDsa
ecdsa,
58
return new ECDsaComponent(
ECDsa
.Create(algorithm.Curve), algorithm);
101
return new ECDsaComponent(
ECDsa
.Create(parameters), algorithm);
160
return new ECDsaComponent(
ECDsa
.Create(parameters), algorithm);
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
82
this
ECDsa
ecdsa,
System\Security\Cryptography\CryptoConfig.cs (1)
421
return
ECDsa
.Create();
System\Security\Cryptography\ECDsa.Create.Windows.cs (3)
11
public static new partial
ECDsa
Create()
22
public static partial
ECDsa
Create(ECCurve curve)
33
public static partial
ECDsa
Create(ECParameters parameters)
System\Security\Cryptography\ECDsa.cs (5)
24
public static new partial
ECDsa
Create();
27
public static partial
ECDsa
Create(ECCurve curve);
30
public static partial
ECDsa
Create(ECParameters parameters);
34
public static new
ECDsa
? Create(string algorithm)
38
return CryptoConfig.CreateFromName(algorithm) as
ECDsa
;
System\Security\Cryptography\ECDsaWrapper.cs (2)
12
private readonly
ECDsa
_wrapped;
14
internal ECDsaWrapper(
ECDsa
wrapped)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (3)
33
else if (typeof(T) == typeof(
ECDsa
))
63
if (typeof(T) == typeof(
ECDsa
))
80
if (typeof(T) == typeof(
ECDsa
) || typeof(T) == typeof(ECDiffieHellman))
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (3)
49
public
ECDsa
? GetECDsaPrivateKey()
51
return GetPrivateKey<
ECDsa
>(
145
public ICertificatePal CopyWithPrivateKey(
ECDsa
ecdsa)
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (4)
72
public CertificateRequest(string subjectName,
ECDsa
key, HashAlgorithmName hashAlgorithm)
99
public CertificateRequest(X500DistinguishedName subjectName,
ECDsa
key, HashAlgorithmName hashAlgorithm)
702
case
ECDsa
ecdsa:
910
ECDsa
? ecdsa = issuerCertificate.GetECDsaPrivateKey();
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
307
ECDsa
? ecdsa = publicKey.GetECDsaPublicKey();
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (1)
197
ECDsa
? ecdsa = issuerCertificate.GetECDsaPrivateKey();
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (9)
9
/// Provides extension methods for retrieving <see cref="
ECDsa
" /> implementations for the
15
/// Gets the <see cref="
ECDsa
" /> public key from the certificate or null if the certificate does not have an ECDsa public key.
17
public static
ECDsa
? GetECDsaPublicKey(this X509Certificate2 certificate)
19
return certificate.GetPublicKey<
ECDsa
>(HasECDsaKeyUsage);
23
/// Gets the <see cref="
ECDsa
" /> private key from the certificate or null if the certificate does not have an ECDsa private key.
25
public static
ECDsa
? GetECDsaPrivateKey(this X509Certificate2 certificate)
27
return certificate.GetPrivateKey<
ECDsa
>(HasECDsaKeyUsage);
30
public static X509Certificate2 CopyWithPrivateKey(this X509Certificate2 certificate,
ECDsa
privateKey)
38
using (
ECDsa
? publicKey = GetECDsaPublicKey(certificate))
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
12
private readonly
ECDsa
_key;
14
internal ECDsaX509SignatureGenerator(
ECDsa
key)
System\Security\Cryptography\X509Certificates\ICertificatePal.cs (2)
32
ECDsa
? GetECDsaPrivateKey();
40
ICertificatePal CopyWithPrivateKey(
ECDsa
privateKey);
System\Security\Cryptography\X509Certificates\IX509Pal.cs (1)
9
ECDsa
DecodeECDsaPublicKey(ICertificatePal? certificatePal);
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
288
/// Gets the <see cref="
ECDsa
" /> public key, or <see langword="null" /> if the key is not an ECDsa key.
297
public
ECDsa
? GetECDsaPublicKey()
302
ECDsa
ecdsa =
ECDsa
.Create();
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (4)
1489
using (
ECDsa
? ecdsa = certificate.GetECDsaPublicKey())
2088
static keyPem => CreateAndImport(keyPem,
ECDsa
.Create),
2180
using (
ECDsa
ecdsa =
ECDsa
.Create())
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (1)
24
public
ECDsa
DecodeECDsaPublicKey(ICertificatePal? certificatePal)
System\Security\Cryptography\X509Certificates\X509SignatureGenerator.cs (1)
18
public static X509SignatureGenerator CreateForECDsa(
ECDsa
key)
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)
25
private
ECDsa
? _ecdsaKey;
45
public CoseKey(
ECDsa
key, HashAlgorithmName hashAlgorithm)
71
if (key is
ECDsa
ecdsaKey)
215
private static int SignHashWithECDsa(
ECDsa
key, ReadOnlySpan<byte> hash, Span<byte> destination)
System\Security\Cryptography\Cose\CoseSigner.cs (2)
78
if (key is not
ECDsa
)
81
CoseKey = new CoseKey((
ECDsa
)key, hashAlgorithm);
System.Security.Cryptography.Pkcs (6)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
81
if (typeof(T) == typeof(
ECDsa
))
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
149
if (typeof(T) == typeof(
ECDsa
))
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (4)
41
protected override bool VerifyKeyType(object key) => key is
ECDsa
;
67
ECDsa
? key = certificate.GetECDsaPublicKey();
124
using (GetSigningKey(privateKey, certificate, silent, ECDsaCertificateExtensions.GetECDsaPublicKey, out
ECDsa
? key))
177
using (
ECDsa
certKey = certificate.GetECDsaPublicKey()!)