constructor Create(const aPool: iDSIDLArith);
procedure Assign(const aSrc: iDiscreteLogField); overload;
procedure Assign(const aSrc: iFFSystemParams); overload;
function Clone: iFFSystemParams;
function Compare(const aParams: iDiscreteLogField): Boolean; overload;
function Compare(const aParams: iFFSystemParams): Boolean; overload;
procedure Generate(aBitSize: Cardinal; aQBitSize: Cardinal);
function Validate: Boolean;
function ScalarFixBitLength: Integer;
function FieldElementToBytes(const aElement: iGroupElement) : tBytes; overload;
function FieldElementToBytes(const aElement : iGroupElement; const aDst : tBytes; aDstOffset: Integer; var aDstCount : Integer) : Boolean; overload;
function BytesToFieldElement(const aSrc : tBytes) : iGroupElement; overload;
function BytesToFieldElement(const aSrc : tBytes; aSrcOffset, aSrcCount : Integer) : iGroupElement; overload;
function IsNonTrivialFieldElement(const aElement: iGroupElement) : Boolean;
function IsGroupElement(const aElement: iGroupElement) : Boolean;
property Pool: iDSIDLArith read GetPool;
property P: iDSInteger read GetP write SetP;
property Q: iDSInteger read GetQ write SetQ;
property G: iDSInteger read GetG write SetG;
property J: iDSInteger read GetJ write SetJ;
function iDiscreteLogField.GetPrimeModulus = GetP;
function iDiscreteLogField.GetGroupOrder = GetQ;
function iDiscreteLogField.GetCoFactor = GetJ;
procedure iDiscreteLogField.SetPrimeModulus = SetP;
procedure iDiscreteLogField.SetGroupOrder = SetQ;
procedure iDiscreteLogField.SetCoFactor = SetJ;
inherits from iDLPrivateKey
procedure NewKeys(aBitSize: Cardinal; aQBitSize: Cardinal; var aPubl: iDLPublicKey); overload;
inherits from iDLPublicKey
(no public members)
inherits from tDLPrivateKey
implements iFFPrivateKey
procedure NewKeys(aBitSize: Cardinal; aQBitSize: Cardinal; var aPubl: iDLPublicKey); overload;
inherits from tDLPublicKey
implements iFFPublicKey
(no public members)
inherits from tDSIDLArith
implements iDSIFF
class function NISTMode: Boolean;
class procedure EnableNISTMode;
class procedure DisableNISTMode;
class function CreatePrivateKey(const aPool: iDSIDLArith; const aParams: iDiscreteLogField): iDLPrivateKey; override;
class function CreatePublicKey(const aPool: iDSIDLArith; const aParams: iDiscreteLogField): iDLPublicKey; override;
function IsNonTrivialFieldElement(const aElement: iGroupElement; const aParams : iDiscreteLogField) : Boolean; override;
function IsGroupElement(const aElement: iGroupElement; const aParams : iDiscreteLogField) : Boolean; override;
function FieldElementToBytes(const aElement : iGroupElement; const aParams : iDiscreteLogField; const aDst : tBytes; aDstOffset: Integer; var aDstCount : Integer) : Boolean; override;
function BytesToFieldElement(const aSrc : tBytes; aSrcOffset, aSrcCount : Integer; const aParams : iDiscreteLogField) : iGroupElement; override;
procedure NewKeys(aBitSize : Cardinal; aQBitSize : Cardinal; var aPriv : iDLPrivateKey; var aPubl : iDLPublicKey; aTerminate: tGetTerminate = nil); overload;