Security Scol plugin
|
Returns a decoding results. More...
#include <cryptlib.h>
Public Member Functions | |
DecodingResult () | |
Constructs a DecodingResult. | |
DecodingResult (size_t len) | |
Constructs a DecodingResult. | |
bool | operator== (const DecodingResult &rhs) const |
Compare two DecodingResult. | |
bool | operator!= (const DecodingResult &rhs) const |
Compare two DecodingResult. | |
Public Attributes | |
bool | isValidCoding |
Flag to indicate the decoding is valid. | |
size_t | messageLength |
Recovered message length if isValidCoding is true, undefined otherwise. | |
Returns a decoding results.
Definition at line 277 of file cryptlib.h.
|
inlineexplicit |
Constructs a DecodingResult.
isValidCoding is initialized to false and messageLength is initialized to 0.
Definition at line 282 of file cryptlib.h.
|
inlineexplicit |
Constructs a DecodingResult.
len | the message length |
isValidCoding is initialized to true.
Definition at line 286 of file cryptlib.h.
|
inline |
Compare two DecodingResult.
rhs | the other DecodingResult |
Returns !operator==(rhs)
.
Definition at line 298 of file cryptlib.h.
|
inline |
Compare two DecodingResult.
rhs | the other DecodingResult |
Definition at line 292 of file cryptlib.h.
bool DecodingResult::isValidCoding |
Flag to indicate the decoding is valid.
Definition at line 301 of file cryptlib.h.
size_t DecodingResult::messageLength |
Recovered message length if isValidCoding is true, undefined otherwise.
Definition at line 303 of file cryptlib.h.