Digitial Signature Standard scheme
| 325 | |
| 326 | // Digitial Signature Standard scheme |
| 327 | class DSS : public Auth { |
| 328 | public: |
| 329 | void sign(byte*, const byte*, unsigned int, const RandomPool&); |
| 330 | bool verify(const byte*, unsigned int, const byte*, unsigned int); |
| 331 | uint get_signatureLength() const; |
| 332 | DSS(const byte*, unsigned int, bool publicKey = true); |
| 333 | ~DSS(); |
| 334 | private: |
| 335 | struct DSSImpl; |
| 336 | DSSImpl* pimpl_; |
| 337 | |
| 338 | DSS(const DSS&); |
| 339 | DSS& operator=(const DSS&); |
| 340 | }; |
| 341 | |
| 342 | |
| 343 | // RSA Authentication and exchange |