Lines Matching refs:messageAccumulator
1366 virtual void InputRecoverableMessage(PK_MessageAccumulator &messageAccumulator, const byte *recoverableMessage, size_t recoverableMessageLength) const =0;
1368 //! sign and delete messageAccumulator (even in case of exception thrown)
1372 virtual size_t Sign(RandomNumberGenerator &rng, PK_MessageAccumulator *messageAccumulator, byte *signature) const;
1374 //! sign and restart messageAccumulator
1378 virtual size_t SignAndRestart(RandomNumberGenerator &rng, PK_MessageAccumulator &messageAccumulator, byte *signature, bool restart=true) const =0;
1408 virtual void InputSignature(PK_MessageAccumulator &messageAccumulator, const byte *signature, size_t signatureLength) const =0;
1410 //! check whether messageAccumulator contains a valid signature and message, and delete messageAccumulator (even in case of exception thrown)
1411 virtual bool Verify(PK_MessageAccumulator *messageAccumulator) const;
1413 //! check whether messageAccumulator contains a valid signature and message, and restart messageAccumulator
1414 virtual bool VerifyAndRestart(PK_MessageAccumulator &messageAccumulator) const =0;
1423 virtual DecodingResult Recover(byte *recoveredMessage, PK_MessageAccumulator *messageAccumulator) const;
1428 virtual DecodingResult RecoverAndRestart(byte *recoveredMessage, PK_MessageAccumulator &messageAccumulator) const =0;