1 type derived from X25519DiffieHellman
System.Security.Cryptography (1)
System\Security\Cryptography\X25519DiffieHellmanImplementation.OpenSsl.cs (1)
8
internal sealed class X25519DiffieHellmanImplementation :
X25519DiffieHellman
33 references to X25519DiffieHellman
System.Security.Cryptography (33)
System\Security\Cryptography\X25519DiffieHellman.cs (32)
75
public byte[] DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty)
108
public void DeriveRawSecretAgreement(
X25519DiffieHellman
otherParty, Span<byte> destination)
136
public static
X25519DiffieHellman
GenerateKey()
737
protected abstract void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination);
796
public static
X25519DiffieHellman
ImportPrivateKey(byte[] source)
821
public static
X25519DiffieHellman
ImportPrivateKey(ReadOnlySpan<byte> source)
852
public static
X25519DiffieHellman
ImportPublicKey(byte[] source)
877
public static
X25519DiffieHellman
ImportPublicKey(ReadOnlySpan<byte> source)
912
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source)
922
out
X25519DiffieHellman
key);
930
out
X25519DiffieHellman
result)
950
public static
X25519DiffieHellman
ImportSubjectPublicKeyInfo(byte[] source)
986
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(ReadOnlySpan<byte> source)
991
KeyFormatHelper.ReadPkcs8(s_knownOids, source, Pkcs8KeyReader, out int read, out
X25519DiffieHellman
key);
1000
public static
X25519DiffieHellman
ImportPkcs8PrivateKey(byte[] source)
1044
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source)
1089
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source)
1137
public static
X25519DiffieHellman
ImportEncryptedPkcs8PrivateKey(string password, byte[] source)
1187
public static
X25519DiffieHellman
ImportFromPem(ReadOnlySpan<char> source)
1191
return PemKeyHelpers.ImportFactoryPem<
X25519DiffieHellman
>(source, label =>
1204
public static
X25519DiffieHellman
ImportFromPem(string source)
1248
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password)
1250
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, char>(
1289
public static
X25519DiffieHellman
ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes)
1291
return PemKeyHelpers.ImportEncryptedFactoryPem<
X25519DiffieHellman
, byte>(
1301
public static
X25519DiffieHellman
ImportFromEncryptedPem(string source, string password)
1312
public static
X25519DiffieHellman
ImportFromEncryptedPem(string source, byte[] passwordBytes)
1320
/// Releases all resources used by the <see cref="
X25519DiffieHellman
"/> class.
1334
/// resources used by the current instance of the <see cref="
X25519DiffieHellman
"/> class.
1464
out
X25519DiffieHellman
key)
1485
ObjectDisposedException.ThrowIf(_disposed, typeof(
X25519DiffieHellman
));
1494
nameof(
X25519DiffieHellman
)));
System\Security\Cryptography\X25519DiffieHellmanImplementation.OpenSsl.cs (1)
21
protected override void DeriveRawSecretAgreementCore(
X25519DiffieHellman
otherParty, Span<byte> destination)