4 types derived from X25519DiffieHellman
System.Security.Cryptography (4)
System\Security\Cryptography\X25519DiffieHellmanCng.cs (1)
22
public sealed partial class X25519DiffieHellmanCng :
X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
14
public sealed partial class X25519DiffieHellmanCng :
X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (1)
14
internal sealed class X25519DiffieHellmanImplementation :
X25519DiffieHellman
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.cs (1)
22
public 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)
12
private const int PublicKeySizeInBytes =
X25519DiffieHellman
.PublicKeySizeInBytes;
System\Security\Cryptography\X25519DiffieHellman.cs (32)
78
public byte[] DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty)
145
public void DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty, Span<byte> destination)
210
public static
X25519DiffieHellman
GenerateKey()
811
protected abstract void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination);
885
public static
X25519DiffieHellman
ImportPrivateKey(byte[] source)
910
public static
X25519DiffieHellman
ImportPrivateKey(ReadOnlySpan<byte> source)
941
public static
X25519DiffieHellman
ImportPublicKey(byte[] source)
966
public static
X25519DiffieHellman
ImportPublicKey(ReadOnlySpan<byte> source)
1001
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source)
1011
out
X25519DiffieHellman
key);
1019
out
X25519DiffieHellman
result)
1039
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(byte[] source)
1075
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(ReadOnlySpan<byte> source)
1080
KeyFormatHelper.ReadPkcs8(s_knownOids, source, Pkcs8KeyReader, out int read, out
X25519DiffieHellman
key);
1089
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(byte[] source)
1133
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source)
1178
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source)
1226
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(string password, byte[] source)
1276
public static
X25519DiffieHellman
ImportFromPem(ReadOnlySpan<char> source)
1280
return PemKeyHelpers.ImportFactoryPem<
X25519DiffieHellman
>(source, label =>
1293
public static
X25519DiffieHellman
ImportFromPem(string source)
1337
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password)
1339
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, char>(
1378
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes)
1380
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, byte>(
1390
public static
X25519DiffieHellman
ImportFromEncryptedPem(string source, string password)
1401
public static
X25519DiffieHellman
ImportFromEncryptedPem(string source, byte[] passwordBytes)
1409
/// Releases all resources used by the <see cref="
X25519DiffieHellman
"/> class.
1423
/// resources used by the current instance of the <see cref="
X25519DiffieHellman
"/> class.
1582
out
X25519DiffieHellman
key)
1603
ObjectDisposedException.ThrowIf(_disposed, typeof(
X25519DiffieHellman
));
1618
nameof(
X25519DiffieHellman
)));
System\Security\Cryptography\X25519DiffieHellmanCng.cs (1)
56
protected override unsafe partial void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination);
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (1)
40
protected override unsafe partial void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination)
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (1)
36
protected override void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination)
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.NotSupported.cs (1)
22
protected override void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination)