function GetData: iDSInteger;
function GetId: Integer;
function GetLargeId: iDSInteger;
procedure SetData(const Value: iDSInteger);
procedure SetId(const Value: Integer);
procedure SetLargeId(const Value: iDSInteger);
procedure Delete;
procedure GetDataExp(AGenerator, AFieldModulus: iDSInteger; var AData: iDSInteger);
property Data: iDSInteger read GetData write SetData;
property Id: Integer read GetId write SetId;
property LargeId: iDSInteger read GetLargeId write SetLargeId;
(no public members)
inherits from TInterfacedObject
implements iDSIntegerCollectionItem
constructor Create(ACollection: tDSIntegerCollection);
destructor Destroy; override;
procedure Delete;
procedure GetDataExp(aGenerator, aFieldModulus: iDSInteger; var aData: iDSInteger);
property Data: iDSInteger read GetData write SetData;
property Id: Integer read GetId write SetId;
property LargeId: iDSInteger read GetLargeId write SetLargeId;
function GetFieldModulus: iDSInteger;
function GetGroupModulus: iDSInteger;
function GetItemCount: Integer;
function GetItems(Index: Integer): iDSIntegerCollectionItem;
procedure FreeItems;
function Add: iDSIntegerCollectionItem;
procedure Assign(ASource: iDSIntegerCollection);
procedure Clear;
procedure SetFieldModulus(AValue: iDSInteger);
procedure SetGroupModulus(AValue: iDSInteger);
property FieldModulus: iDSInteger read GetFieldModulus;
property GroupModulus: iDSInteger read GetGroupModulus;
property ItemCount: Integer read GetItemCount;
property Items[Index: Integer]: iDSIntegerCollectionItem read GetItems;
inherits from TInterfacedObject
implements iDSIntegerCollection
constructor Create(aLocal: Boolean = False);
destructor Destroy; override;
function Add: iDSIntegerCollectionItem;
procedure Assign(ASource: iDSIntegerCollection); virtual;
procedure Clear; virtual;
procedure SetFieldModulus(aValue: iDSInteger);
procedure SetGroupModulus(aValue: iDSInteger);
property FieldModulus: iDSInteger read GetFieldModulus;
property GroupModulus: iDSInteger read GetGroupModulus;
property ItemCount: Integer read GetItemCount;
property Items[Index: Integer]: iDSIntegerCollectionItem read GetItems;
inherits from iDSIntegerCollection
procedure AssignExp(aGenerator : iDSInteger; aSourcePolynomial: iDSPolynomial);
procedure AssignExpTo(aGenerator : iDSInteger; aPolynomialExp: iDSPolynomial);
procedure CreatePolynomial(aDegree : Integer; aTerm0, aFieldModulus: iDSInteger);
procedure Evaluate(Index: Integer; var AValue: iDSInteger); overload;
procedure Evaluate(Index: iDSInteger; var AValue: iDSInteger); overload;
procedure EvaluateExp(Index: Integer; var AValue: iDSInteger); overload;
procedure EvaluateExp(Index: iDSInteger; var AValue: iDSInteger); overload;
inherits from tDSIntegerCollection
implements iDSPolynomial
procedure AssignExp(aGenerator : iDSInteger; aSourcePolynomial: iDSPolynomial);
procedure AssignExpTo(aGenerator : iDSInteger; aPolynomialExp: iDSPolynomial);
procedure CreatePolynomial(aDegree : Integer; aTerm0, aFieldModulus: iDSInteger);
procedure Evaluate(Index: Integer; var AValue: iDSInteger); overload;
procedure Evaluate(Index: iDSInteger; var AValue: iDSInteger); overload;
procedure EvaluateExp(Index: Integer; var AValue: iDSInteger); overload;
procedure EvaluateExp(Index: iDSInteger; var AValue: iDSInteger); overload;
inherits from iDSIntegerCollection
function GetThreshold: Integer;
function GetPolynomial: iDSPolynomial;
procedure SetThreshold(const Value: Integer);
function CreateSharing(AShareCount, AThreshold: Integer; ASecret, AFieldModulus: iDSInteger; AGenerator: iDSInteger = nil; APolynomialExp: iDSPolynomial = nil; AIds: iDSIntegerCollection = nil): Boolean;
function CreateZeroSharing(AShareCount, AThreshold: Integer; AFieldModulus: iDSInteger; AGenerator: iDSInteger = nil; APolynomialExp: iDSPolynomial = nil; AIds: iDSIntegerCollection = nil): Boolean;
procedure DeleteId(AId: Integer);
procedure DeleteIndex(AIndex: Integer);
function FindId(AId: Integer): Integer; overload;
function FindId(ALargeId: iDSInteger): Integer; overload;
function RecreatePolynomial: Boolean;
function RecreateSecret(var ASecret: iDSInteger): Boolean;
function RecreateSecretExp(var ASecret: iDSInteger): Boolean;
property Threshold: Integer read GetThreshold write SetThreshold;
property Polynomial: iDSPolynomial read GetPolynomial;
inherits from tDSIntegerCollection
implements iDSSecretSharing
procedure Assign(ASource: iDSIntegerCollection); override;
function CreateSharing(aShareCount, aThreshold : Integer; aSecret, aFieldModulus : iDSInteger; aGenerator : iDSInteger = nil; aPolynomialExp: iDSPolynomial = nil; aIds : iDSIntegerCollection = nil) : Boolean;
function CreateZeroSharing(aShareCount, aThreshold : Integer; aFieldModulus : iDSInteger; aGenerator : iDSInteger = nil; aPolynomialExp: iDSPolynomial = nil; aIds : iDSIntegerCollection = nil) : Boolean;
procedure DeleteId(AId: Integer);
procedure DeleteIndex(AIndex: Integer);
function FindId(AId: Integer): Integer; overload;
function FindId(ALargeId: iDSInteger): Integer; overload;
function RecreateSecret(var aSecret: iDSInteger): Boolean;
function RecreatePolynomial: Boolean;
function RecreateSecretExp(var aSecret: iDSInteger): Boolean;
property Threshold: Integer read GetThreshold write SetThreshold;
property Polynomial: iDSPolynomial read GetPolynomial;
function GetLocalID: iDSInteger;
function GetRemoteIDCount: Integer;
function GetRemoteIDs(Index: Integer): iDSInteger;
procedure SetLocalID(Value: iDSInteger);
function AddRemoteID(Value: iDSInteger): Integer;
function IndexOfRemoteID(Value: iDSInteger): Integer;
property LocalID: iDSInteger read GetLocalID write SetLocalID;
property RemoteIDCount: Integer read GetRemoteIDCount;
property RemoteIDs[Index: Integer]: iDSInteger read GetRemoteIDs;
function SendSigmaRho(ARemoteId: iDSInteger; ASigma, ARho: iDSInteger): Boolean;
function BroadcastA(AA: iDSIntegerCollection): Boolean;
function BroadcastComplaintA(ARemoteID: iDSInteger): Boolean;
function BroadcastSigmaRho(ARemoteID: iDSInteger; ASigma, ARho: iDSInteger): Boolean;
procedure RecvSigmaRho(ASenderID, ARemoteID: iDSInteger; ASigma, ARho: iDSInteger);
procedure RecvA(ASenderID: iDSInteger; AA: iDSIntegerCollection);
procedure RecvComplaintA(ASenderID, ARemoteID: iDSInteger);
inherits from iDSJointUncondSecureRSSSender
function BroadcastY(AY: iDSIntegerCollection): Boolean;
function BroadcastComplaintY(ARemoteID, ASigma, ARho: iDSInteger): Boolean;
function BroadcastSigma(ARemoteID, ASigma: iDSInteger): Boolean;
inherits from iDSJointUncondSecureRSSReceiver
procedure RecvY(ASenderID: iDSInteger; AY: iDSIntegerCollection);
procedure RecvComplaintY(ASenderID, ARemoteID, ASigma, ARho: iDSInteger);
procedure RecvSigma(ASenderID, ARemoteID, ASigma: iDSInteger);
procedure SetParams(AParams: IFFSystemParams; AH: iDSInteger; AThreshold: Integer);
procedure GeneratePrivKey;
procedure FinishGeneratePrivKey;
procedure GeneratePublKey;
procedure FinishGeneratePublKey(var AY: iDSInteger);
constructor Create(aLocal: Boolean = False);
destructor Destroy; override;
procedure SetParams(aParams: iFFSystemParams; aH: iDSInteger; aThreshold: Integer);
procedure GeneratePrivKey;
procedure FinishGeneratePrivKey;
procedure GeneratePublKey;
procedure FinishGeneratePublKey(var aY: iDSInteger);
property SecretSharingSender: iDSSecretSharingSender read FSecretSharingSender write SetSecretSharingSender;