ClpIX25519PublicKeyParameters.pas 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 ClpIX25519PublicKeyParameters;
  14. {$I ..\Include\CryptoLib.inc}
  15. interface
  16. uses
  17. ClpIAsymmetricKeyParameter,
  18. ClpCryptoLibTypes;
  19. type
  20. IX25519PublicKeyParameters = interface(IAsymmetricKeyParameter)
  21. ['{52D136C4-4DD1-4AF1-9AB8-0783136EF04A}']
  22. procedure Encode(const buf: TCryptoLibByteArray; off: Int32);
  23. function GetEncoded(): TCryptoLibByteArray;
  24. function Equals(const other: IX25519PublicKeyParameters): Boolean; overload;
  25. end;
  26. implementation
  27. end.