5 types derived from ECDiffieHellman
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
10public sealed partial class ECDiffieHellmanOpenSsl : ECDiffieHellman
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (1)
9public sealed partial class ECDiffieHellmanOpenSsl : ECDiffieHellman
System\Security\Cryptography\Cng.NotSupported.cs (1)
223public sealed partial class ECDiffieHellmanCng : ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
10public sealed partial class ECDiffieHellmanOpenSsl : ECDiffieHellman
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
8internal 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)
8public static new partial ECDiffieHellman Create() 13public static partial ECDiffieHellman Create(ECCurve curve) 18public static partial ECDiffieHellman Create(ECParameters parameters)
System\Security\Cryptography\ECDiffieHellman.cs (5)
26public static new partial ECDiffieHellman Create(); 29public static partial ECDiffieHellman Create(ECCurve curve); 32public static partial ECDiffieHellman Create(ECParameters parameters); 36public static new ECDiffieHellman? Create(string algorithm) 40return CryptoConfig.CreateFromName(algorithm) as ECDiffieHellman;
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (2)
10private readonly ECDiffieHellman _wrapped; 12internal ECDiffieHellmanWrapper(ECDiffieHellman wrapped)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (3)
37else if (typeof(T) == typeof(ECDiffieHellman)) 69if (typeof(T) == typeof(ECDiffieHellman)) 80if (typeof(T) == typeof(ECDsa) || typeof(T) == typeof(ECDiffieHellman))
System\Security\Cryptography\X509Certificates\ICertificatePal.cs (2)
33ECDiffieHellman? GetECDiffieHellmanPrivateKey(); 39ICertificatePal CopyWithPrivateKey(ECDiffieHellman privateKey);
System\Security\Cryptography\X509Certificates\IX509Pal.cs (1)
10ECDiffieHellman DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (3)
580public ECDiffieHellman GetECDiffieHellmanPublicKey() 600public ECDiffieHellman? GetECDiffieHellmanPrivateKey() 659public ICertificatePal CopyWithPrivateKey(ECDiffieHellman privateKey)
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (1)
22public ECDiffieHellman DecodeECDiffieHellmanPublicKey(ICertificatePal? certificatePal)
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
246/// Gets the <see cref="ECDiffieHellman" /> public key, or <see langword="null" /> 256public ECDiffieHellman? GetECDiffieHellmanPublicKey() 261ECDiffieHellman ecdh = ECDiffieHellman.Create();
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (14)
695/// Gets the <see cref="ECDiffieHellman" /> public key from this certificate. 704public ECDiffieHellman? GetECDiffieHellmanPublicKey() 706return this.GetPublicKey<ECDiffieHellman>(HasECDiffieHellmanKeyUsage); 710/// Gets the <see cref="ECDiffieHellman" /> private key from this certificate. 719public ECDiffieHellman? GetECDiffieHellmanPrivateKey() 721return this.GetPrivateKey<ECDiffieHellman>(HasECDiffieHellmanKeyUsage); 725/// Combines a private key with the public key of an <see cref="ECDiffieHellman" /> 746public X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey) 753using (ECDiffieHellman? publicKey = GetECDiffieHellmanPublicKey()) 959ExtractKeyFromPem<ECDiffieHellman>( 962ECDiffieHellman.Create, 1030ExtractKeyFromEncryptedPem<ECDiffieHellman>( 1033ECDiffieHellman.Create, 1050using (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))]