Lines Matching defs:PK_MessageAccumulator
1347 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE PK_MessageAccumulator : public HashTransformation
1350 //! should not be called on PK_MessageAccumulator
1352 {throw NotImplemented("PK_MessageAccumulator: DigestSize() should not be called");}
1353 //! should not be called on PK_MessageAccumulator
1355 {throw NotImplemented("PK_MessageAccumulator: TruncatedFinal() should not be called");}
1364 virtual PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const =0;
1366 virtual void InputRecoverableMessage(PK_MessageAccumulator &messageAccumulator, const byte *recoverableMessage, size_t recoverableMessageLength) const =0;
1372 virtual size_t Sign(RandomNumberGenerator &rng, PK_MessageAccumulator *messageAccumulator, byte *signature) const;
1378 virtual size_t SignAndRestart(RandomNumberGenerator &rng, PK_MessageAccumulator &messageAccumulator, byte *signature, bool restart=true) const =0;
1405 virtual PK_MessageAccumulator * NewVerificationAccumulator() const =0;
1408 virtual void InputSignature(PK_MessageAccumulator &messageAccumulator, const byte *signature, size_t signatureLength) const =0;
1411 virtual bool Verify(PK_MessageAccumulator *messageAccumulator) const;
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;