ClpIDHDomainParameters.pas 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. { *********************************************************************************** }
  2. { * CryptoLib Library * }
  3. { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
  4. { * Github Repository <https://github.com/Xor-el> * }
  5. { * Distributed under the MIT software license, see the accompanying file LICENSE * }
  6. { * or visit http://www.opensource.org/licenses/mit-license.php. * }
  7. { * Acknowledgements: * }
  8. { * * }
  9. { * Thanks to Sphere 10 Software (http://www.sphere10.com/) for sponsoring * }
  10. { * development of this library * }
  11. { * ******************************************************************************* * }
  12. (* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
  13. unit ClpIDHDomainParameters;
  14. {$I ..\Include\CryptoLib.inc}
  15. interface
  16. uses
  17. ClpIDHValidationParams,
  18. ClpIAsn1Objects;
  19. type
  20. IDHDomainParameters = interface(IAsn1Encodable)
  21. ['{18288135-B71F-48B4-8595-57AAB9092FC8}']
  22. function GetP: IDerInteger;
  23. property p: IDerInteger read GetP;
  24. function GetG: IDerInteger;
  25. property g: IDerInteger read GetG;
  26. function GetQ: IDerInteger;
  27. property q: IDerInteger read GetQ;
  28. function GetJ: IDerInteger;
  29. property j: IDerInteger read GetJ;
  30. function GetValidationParams: IDHValidationParams;
  31. property validationParams: IDHValidationParams read GetValidationParams;
  32. end;
  33. implementation
  34. end.