00001
00002
00003
00004 #ifndef DIGESTREQUEST_H
00005 #define DIGESTREQUEST_H
00006
00007 #include "ServiceException.h"
00008
00009 #include <stdint.h>
00010 #include <vector>
00011
00012 namespace Yosokumo
00013 {
00014
00015
00016
00017
00018
00019
00020 class DigestRequest
00021 {
00022 public:
00023
00024
00025
00026
00027 enum { ENCODED_LEN = 88 };
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 static std::string makeDigest(
00041 const std::string &message,
00042 const std::vector<uint8_t> &key)
00043 throw(ServiceException);
00044
00045 };
00046
00047 }
00048
00049 #endif // DIGESTREQUEST_H
00050
00051