4 types derived from X25519DiffieHellman
System.Security.Cryptography (4)
System\Security\Cryptography\X25519DiffieHellmanCng.cs (1)
22public sealed partial class X25519DiffieHellmanCng : X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
14public sealed partial class X25519DiffieHellmanCng : X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (1)
14internal sealed class X25519DiffieHellmanImplementation : X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.cs (1)
22public sealed partial class X25519DiffieHellmanOpenSsl : X25519DiffieHellman
37 references to X25519DiffieHellman
System.Security.Cryptography (37)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519WindowsHelpers.cs (1)
12private const int PublicKeySizeInBytes = X25519DiffieHellman.PublicKeySizeInBytes;
System\Security\Cryptography\X25519DiffieHellman.cs (32)
75public byte[] DeriveRawSecretAgreement(X25519DiffieHellman otherParty) 142public void DeriveRawSecretAgreement(X25519DiffieHellman otherParty, Span<byte> destination) 207public static X25519DiffieHellman GenerateKey() 808protected abstract void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination); 882public static X25519DiffieHellman ImportPrivateKey(byte[] source) 907public static X25519DiffieHellman ImportPrivateKey(ReadOnlySpan<byte> source) 938public static X25519DiffieHellman ImportPublicKey(byte[] source) 963public static X25519DiffieHellman ImportPublicKey(ReadOnlySpan<byte> source) 998public static X25519DiffieHellman ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source) 1008out X25519DiffieHellman key); 1016out X25519DiffieHellman result) 1036public static X25519DiffieHellman ImportSubjectPublicKeyInfo(byte[] source) 1072public static X25519DiffieHellman ImportPkcs8PrivateKey(ReadOnlySpan<byte> source) 1077KeyFormatHelper.ReadPkcs8(s_knownOids, source, Pkcs8KeyReader, out int read, out X25519DiffieHellman key); 1086public static X25519DiffieHellman ImportPkcs8PrivateKey(byte[] source) 1130public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source) 1175public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source) 1223public static X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(string password, byte[] source) 1273public static X25519DiffieHellman ImportFromPem(ReadOnlySpan<char> source) 1277return PemKeyHelpers.ImportFactoryPem<X25519DiffieHellman>(source, label => 1290public static X25519DiffieHellman ImportFromPem(string source) 1334public static X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password) 1336return PemKeyHelpers.ImportEncryptedFactoryPem<X25519DiffieHellman, char>( 1375public static X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes) 1377return PemKeyHelpers.ImportEncryptedFactoryPem<X25519DiffieHellman, byte>( 1387public static X25519DiffieHellman ImportFromEncryptedPem(string source, string password) 1398public static X25519DiffieHellman ImportFromEncryptedPem(string source, byte[] passwordBytes) 1406/// Releases all resources used by the <see cref="X25519DiffieHellman"/> class. 1420/// resources used by the current instance of the <see cref="X25519DiffieHellman"/> class. 1551out X25519DiffieHellman key) 1572ObjectDisposedException.ThrowIf(_disposed, typeof(X25519DiffieHellman)); 1587nameof(X25519DiffieHellman)));
System\Security\Cryptography\X25519DiffieHellmanCng.cs (1)
56protected override unsafe partial void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination);
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
40protected override unsafe partial void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination)
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (1)
36protected override void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination)
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.NotSupported.cs (1)
22protected override void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination)