C# Класс TSystems.RELOAD.Storage.StoredData

The basic unit of stored data is a single StoredData structure. RELOAD base -12 p.80 --mine
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SignData ( ResourceId resId, UInt32 kindId, SignerIdentity id, ReloadConfig rc ) : void

Computes the signature of the stored data. The input to the signature algorithm is: resource_id || kind || storage_time || StoredDataValue || SignerIdentity Where || indicates concatenation.

StoredData ( StoredDataValue value ) : System

This contructor should be used by the store_data originator. Storeage -and lifetime will be set automaticly.

StoredData ( System.UInt64 storage_time, UInt32 lifetime, StoredDataValue value ) : System

This constructor should be used whiel message deserialization.

Описание методов

SignData() публичный Метод

Computes the signature of the stored data. The input to the signature algorithm is: resource_id || kind || storage_time || StoredDataValue || SignerIdentity Where || indicates concatenation.
public SignData ( ResourceId resId, UInt32 kindId, SignerIdentity id, ReloadConfig rc ) : void
resId TSystems.RELOAD.Utils.ResourceId
kindId System.UInt32
id TSystems.RELOAD.Topology.SignerIdentity
rc ReloadConfig
Результат void

StoredData() публичный Метод

This contructor should be used by the store_data originator. Storeage -and lifetime will be set automaticly.
public StoredData ( StoredDataValue value ) : System
value StoredDataValue The value to be stored
Результат System

StoredData() публичный Метод

This constructor should be used whiel message deserialization.
public StoredData ( System.UInt64 storage_time, UInt32 lifetime, StoredDataValue value ) : System
storage_time System.UInt64
lifetime System.UInt32
value StoredDataValue
Результат System