48 #ifndef _MIRA_RSASIGNATURE_H_ 49 #define _MIRA_RSASIGNATURE_H_ 102 template<
typename Reflector>
105 std::stringstream ss;
107 std::string str = ss.str();
111 template<
typename Reflector>
116 std::stringstream ss(str);
156 DigestType iDigestType,
169 static bool verifyMessage(
const RSAKey& iPublicKey,
170 DigestType iDigestType,
198 const RSASignature& signature);
206 RSASignature& signature);
210 template<
typename SerializerTag>
Typedefs for OS independent basic data types.
MIRA_SPLIT_REFLECT_MEMBER void reflectRead(Reflector &r)
Reflect.
Definition: RSASignature.h:103
Definition: RSASignature.h:75
size_t getSize() const
Return the size of the RSA signature.
Definition: RSASignature.h:136
Type trait that indicates whether a type should be serialized "transparently", i.e.
Definition: IsTransparentSerializable.h:81
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:209
void reflectWrite(Reflector &r)
Definition: RSASignature.h:112
MIRA_BASE_EXPORT std::istream & operator>>(std::istream &stream, RSAKey &key)
The '>>' operator for RSAKey.
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:139
Definition: RSASignature.h:76
A class for signing and verifying messages using a RSA key pair.
Definition: RSASignature.h:69