first iteration - base classes and methods Signed-off-by: Pavel Gross <p.gross@yadro.com>
14 lines
301 B
C#
14 lines
301 B
C#
using System.Security.Cryptography;
|
|
|
|
using FrostFS.SDK.Cryptography;
|
|
|
|
using Google.Protobuf;
|
|
|
|
namespace FrostFS.SDK.ClientV2;
|
|
|
|
public class ClientKey(ECDsa key)
|
|
{
|
|
internal ECDsa ECDsaKey { get; } = key;
|
|
|
|
internal ByteString PublicKeyProto { get; } = ByteString.CopyFrom(key.PublicKey());
|
|
}
|