8 types derived from ECDiffieHellman
System.Security.Cryptography (8)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.cs (1)
9
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (1)
8
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanCng.cs (1)
12
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanCng.Derive.cs (1)
9
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
9
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanCng.Xml.cs (1)
6
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
8
internal sealed class ECDiffieHellmanWrapper :
ECDiffieHellman
System\Security\Cryptography\OpenSsl.NotSupported.cs (1)
68
public sealed class ECDiffieHellmanOpenSsl :
ECDiffieHellman
61 references to ECDiffieHellman
netstandard (1)
netstandard.cs (1)
1872
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDiffieHellman
))]
System.Core (1)
System.Core.cs (1)
219
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDiffieHellman
))]
System.Security.Cryptography (58)
System\Security\Cryptography\ECDiffieHellman.Create.Cng.cs (3)
8
public static new partial
ECDiffieHellman
Create()
13
public static partial
ECDiffieHellman
Create(ECCurve curve)
18
public static partial
ECDiffieHellman
Create(ECParameters parameters)
System\Security\Cryptography\ECDiffieHellman.cs (5)
26
public static new partial
ECDiffieHellman
Create();
29
public static partial
ECDiffieHellman
Create(ECCurve curve);
32
public static partial
ECDiffieHellman
Create(ECParameters parameters);
36
public static new
ECDiffieHellman
? Create(string algorithm)
40
return CryptoConfig.CreateFromName(algorithm) as
ECDiffieHellman
;
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (2)
10
private readonly
ECDiffieHellman
_wrapped;
12
internal ECDiffieHellmanWrapper(
ECDiffieHellman
wrapped)
System\Security\Cryptography\HpkeECDiffieHellmanKemAdapter.cs (6)
14
private
ECDiffieHellman
? _ecdh;
81
_ecdh =
ECDiffieHellman
.Create(new ECParameters
95
private
ECDiffieHellman
CreateFromEncapsulationKey(ReadOnlySpan<byte> encapsulationKey)
114
return
ECDiffieHellman
.Create(parameters);
148
_ecdh =
ECDiffieHellman
.Create(new ECParameters
191
using (
ECDiffieHellman
ephemeral = CreateFromEncapsulationKey(encapsulatedSecret))
System\Security\Cryptography\HpkeHybridMLKemAdapter.cs (15)
20
private
ECDiffieHellman
? _ecdh;
95
ECDiffieHellman
ecdh = _ecdh;
111
using (
ECDiffieHellman
ephemeral =
ECDiffieHellman
.Create(_curve))
146
ECDiffieHellman
ecdh = _ecdh;
162
using (
ECDiffieHellman
ephemeral = ImportPublicKey(traditionalCiphertext))
202
ECDiffieHellman
ecdh = ImportPublicKey(traditionalKey);
248
(MLKem mlkem,
ECDiffieHellman
ecdh) = ExpandSeed(seed);
267
private (MLKem MLKem,
ECDiffieHellman
ECDiffieHellman) ExpandSeed(ReadOnlySpan<byte> seed)
289
ECDiffieHellman
ecdh =
ECDiffieHellman
.Create(new ECParameters
333
private
ECDiffieHellman
ImportPublicKey(ReadOnlySpan<byte> source)
343
return
ECDiffieHellman
.Create(parameters);
351
private void ExportPublicKey(
ECDiffieHellman
key, Span<byte> destination)
377
ECDiffieHellman
ownKey,
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (3)
37
else if (typeof(T) == typeof(
ECDiffieHellman
))
69
if (typeof(T) == typeof(
ECDiffieHellman
))
80
if (typeof(T) == typeof(ECDsa) || typeof(T) == typeof(
ECDiffieHellman
))
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (3)
63
public
ECDiffieHellman
? GetECDiffieHellmanPrivateKey()
77
return GetPrivateKey<
ECDiffieHellman
>(
170
public ICertificatePal CopyWithPrivateKey(
ECDiffieHellman
ecdh)
System\Security\Cryptography\X509Certificates\ICertificatePal.cs (2)
33
ECDiffieHellman
? GetECDiffieHellmanPrivateKey();
42
ICertificatePal CopyWithPrivateKey(
ECDiffieHellman
privateKey);
System\Security\Cryptography\X509Certificates\IX509Pal.cs (1)
10
ECDiffieHellman
DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal);
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
317
/// Gets the <see cref="
ECDiffieHellman
" /> public key, or <see langword="null" />
327
public
ECDiffieHellman
? GetECDiffieHellmanPublicKey()
332
ECDiffieHellman
ecdh =
ECDiffieHellman
.Create();
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (13)
707
/// Gets the <see cref="
ECDiffieHellman
" /> public key from this certificate.
716
public
ECDiffieHellman
? GetECDiffieHellmanPublicKey()
718
return this.GetPublicKey<
ECDiffieHellman
>(HasECDiffieHellmanKeyUsage);
722
/// Gets the <see cref="
ECDiffieHellman
" /> private key from this certificate.
731
public
ECDiffieHellman
? GetECDiffieHellmanPrivateKey()
733
return this.GetPrivateKey<
ECDiffieHellman
>(HasECDiffieHellmanKeyUsage);
737
/// Combines a private key with the public key of an <see cref="
ECDiffieHellman
" />
758
public X509Certificate2 CopyWithPrivateKey(
ECDiffieHellman
privateKey)
765
using (
ECDiffieHellman
? publicKey = GetECDiffieHellmanPublicKey())
1599
using (
ECDiffieHellman
? ecdh = certificate.GetECDiffieHellmanPublicKey())
2182
static keyPem => CreateAndImport(keyPem,
ECDiffieHellman
.Create),
2265
using (
ECDiffieHellman
ecdh =
ECDiffieHellman
.Create())
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (1)
36
public
ECDiffieHellman
DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal)
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
22
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDiffieHellman
))]