Add migrated to .NET 8.0 variant of Hcs.Client
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
using GostCryptography.Gost_R3410;
|
||||
using System.Security.Cryptography.Xml;
|
||||
|
||||
namespace GostCryptography.Xml
|
||||
{
|
||||
/// <summary>
|
||||
/// Параметры открытого ключа цифровой подписи ГОСТ Р 34.10-2012/512 элемента <see cref="KeyInfo"/>
|
||||
/// </summary>
|
||||
public sealed class Gost_R3410_2012_512_KeyValue : GostKeyValue
|
||||
{
|
||||
/// <summary>
|
||||
/// URI параметров ключа ГОСТ Р 34.10-2012/512
|
||||
/// </summary>
|
||||
public const string KeyValueUrl = SignedXml.XmlDsigNamespaceUrl + " KeyValue/" + Gost_R3410_2012_512_KeyExchangeXmlSerializer.KeyValueTag;
|
||||
|
||||
/// <summary>
|
||||
/// Известные URIs параметров ключа ГОСТ Р 34.10-2012/512
|
||||
/// </summary>
|
||||
public static readonly string[] KnownValueUrls = { KeyValueUrl };
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Создает экземпляр класса с новым ключом ГОСТ Р 34.10-2012/512
|
||||
/// </summary>
|
||||
public Gost_R3410_2012_512_KeyValue() : base(new Gost_R3410_2012_512_AsymmetricAlgorithm())
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Создает экземпляр класса с заданным ключом ГОСТ Р 34.10-2012/512
|
||||
/// </summary>
|
||||
public Gost_R3410_2012_512_KeyValue(Gost_R3410_2012_512_AsymmetricAlgorithm publicKey) : base(publicKey)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user