48 #ifndef _MIRA_RSASIGNATURE_H_ 49 #define _MIRA_RSASIGNATURE_H_ 101 template<
typename Reflector>
104 std::stringstream ss;
106 std::string str = ss.str();
110 template<
typename Reflector>
115 std::stringstream ss(str);
155 DigestType iDigestType,
168 static bool verifyMessage(
const RSAKey& iPublicKey,
169 DigestType iDigestType,
197 const RSASignature& signature);
205 RSASignature& signature);
209 template<
typename SerializerTag>
Typedefs for OS independent basic data types.
MIRA_SPLIT_REFLECT_MEMBER void reflectRead(Reflector &r)
Reflect.
Definition: RSASignature.h:102
Definition: RSASignature.h:75
size_t getSize() const
Return the size of the RSA signature.
Definition: RSASignature.h:135
Type trait that indicates whether a type should be serialized "transparently", i.e.
Definition: IsTransparentSerializable.h:81
IStream & operator>>(IStream &is, JSONValue &value)
Definition: JSON.h:389
Definition of a RSA key (public or private)
Definition: RSAKey.h:71
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
#define MIRA_SPLIT_REFLECT_MEMBER
Macro that insert a class member reflect() method just splitting reflection into a reflectRead() and ...
Definition: SplitReflect.h:238
void reflectWrite(Reflector &r)
Definition: RSASignature.h:111
Provides type trait that indicates whether a type should be serialized "transparently".
Provides MIRA_SPLIT_REFLECT macros.
std::ostream & operator<<(std::ostream &s, const LibraryVersion &version)
Definition: RSASignature.h:74
Commonly used exception classes.
DigestType
The digest type.
Definition: RSASignature.h:73
const uint8 * getSignature() const
Return the signature in a binary format.
Definition: RSASignature.h:138
A class for signing and verifying messages using a RSA key pair.
Definition: RSASignature.h:69