Lines Matching defs:DecodingResult
198 struct CRYPTOPP_DLL DecodingResult
200 explicit DecodingResult() : isValidCoding(false), messageLength(0) {}
201 explicit DecodingResult(size_t len) : isValidCoding(true), messageLength(len) {}
203 bool operator==(const DecodingResult &rhs) const {return isValidCoding == rhs.isValidCoding && messageLength == rhs.messageLength;}
204 bool operator!=(const DecodingResult &rhs) const {return !operator==(rhs);}
1272 virtual DecodingResult Decrypt(RandomNumberGenerator &rng,
1283 DecodingResult FixedLengthDecrypt(RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs ¶meters = g_nullNameValuePairs) const
1423 virtual DecodingResult Recover(byte *recoveredMessage, PK_MessageAccumulator *messageAccumulator) const;
1428 virtual DecodingResult RecoverAndRestart(byte *recoveredMessage, PK_MessageAccumulator &messageAccumulator) const =0;
1433 virtual DecodingResult RecoverMessage(byte *recoveredMessage,