5 types derived from ECDiffieHellman
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
10
public sealed partial class ECDiffieHellmanOpenSsl :
ECDiffieHellman
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (1)
9
public sealed partial class ECDiffieHellmanOpenSsl :
ECDiffieHellman
System\Security\Cryptography\Cng.NotSupported.cs (1)
223
public sealed partial class ECDiffieHellmanCng :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
10
public sealed partial class ECDiffieHellmanOpenSsl :
ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
8
internal sealed class ECDiffieHellmanWrapper :
ECDiffieHellman
41 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)
218
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDiffieHellman
))]
System.Security.Cryptography (38)
System\Security\Cryptography\ECDiffieHellman.Create.OpenSsl.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\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\ICertificatePal.cs (2)
33
ECDiffieHellman
? GetECDiffieHellmanPrivateKey();
41
ICertificatePal CopyWithPrivateKey(
ECDiffieHellman
privateKey);
System\Security\Cryptography\X509Certificates\IX509Pal.cs (1)
10
ECDiffieHellman
DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (3)
581
public
ECDiffieHellman
GetECDiffieHellmanPublicKey()
601
public
ECDiffieHellman
? GetECDiffieHellmanPrivateKey()
680
public ICertificatePal CopyWithPrivateKey(
ECDiffieHellman
privateKey)
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
23
public
ECDiffieHellman
DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal)
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
268
/// Gets the <see cref="
ECDiffieHellman
" /> public key, or <see langword="null" />
278
public
ECDiffieHellman
? GetECDiffieHellmanPublicKey()
283
ECDiffieHellman
ecdh =
ECDiffieHellman
.Create();
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (14)
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())
1182
ExtractKeyFromPem<
ECDiffieHellman
>(
1185
static keyPem => CreateAndImport(keyPem,
ECDiffieHellman
.Create),
1269
ExtractKeyFromEncryptedPem<
ECDiffieHellman
>(
1272
static (keyPem, password) => CreateAndImportEncrypted(keyPem, password,
ECDiffieHellman
.Create),
1295
using (
ECDiffieHellman
? ecdh = certificate.GetECDiffieHellmanPublicKey())
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
22
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.
ECDiffieHellman
))]