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)
75
public byte[] DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty)
142
public void DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty, Span<byte> destination)
207
public static
X25519DiffieHellman
GenerateKey()
808
protected abstract void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination);
882
public static
X25519DiffieHellman
ImportPrivateKey(byte[] source)
907
public static
X25519DiffieHellman
ImportPrivateKey(ReadOnlySpan<byte> source)
938
public static
X25519DiffieHellman
ImportPublicKey(byte[] source)
963
public static
X25519DiffieHellman
ImportPublicKey(ReadOnlySpan<byte> source)
998
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source)
1008
out
X25519DiffieHellman
key);
1016
out
X25519DiffieHellman
result)
1036
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(byte[] source)
1072
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(ReadOnlySpan<byte> source)
1077
KeyFormatHelper.ReadPkcs8(s_knownOids, source, Pkcs8KeyReader, out int read, out
X25519DiffieHellman
key);
1086
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(byte[] source)
1130
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source)
1175
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source)
1223
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(string password, byte[] source)
1273
public static
X25519DiffieHellman
ImportFromPem(ReadOnlySpan<char> source)
1277
return PemKeyHelpers.ImportFactoryPem<
X25519DiffieHellman
>(source, label =>
1290
public static
X25519DiffieHellman
ImportFromPem(string source)
1334
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password)
1336
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, char>(
1375
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes)
1377
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, byte>(
1387
public static
X25519DiffieHellman
ImportFromEncryptedPem(string source, string password)
1398
public 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.
1551
out
X25519DiffieHellman
key)
1572
ObjectDisposedException.ThrowIf(_disposed, typeof(
X25519DiffieHellman
));
1587
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)