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