using GostCryptography.Asn1.Gost.Gost_R3410_2001; using GostCryptography.Base; using System.Security.Cryptography; namespace GostCryptography.Gost_R3410 { /// /// Реализация шифрования общего секретного ключа по ГОСТ Р 34.10-2001 /// public sealed class Gost_R3410_2001_KeyExchangeFormatter : Gost_R3410_KeyExchangeFormatter< Gost_R3410_2001_KeyExchange, Gost_R3410_2001_KeyExchangeParams, Gost_R3410_2001_KeyExchangeAlgorithm> { /// public Gost_R3410_2001_KeyExchangeFormatter() { } /// public Gost_R3410_2001_KeyExchangeFormatter(AsymmetricAlgorithm publicKey) : base(publicKey) { } /// protected override Gost_R3410_EphemeralAsymmetricAlgorithm CreateEphemeralAlgorithm(ProviderType providerType, Gost_R3410_2001_KeyExchangeParams keyExchangeParameters) { return new Gost_R3410_2001_EphemeralAsymmetricAlgorithm(providerType, keyExchangeParameters); } } }