Flesh out membership certificate with signature, better serialize/deserialize, and rename parameter to qualifier to make better conceptual sense.
This commit is contained in:
parent
ca6c0fad08
commit
ea4e1136dd
6 changed files with 314 additions and 69 deletions
|
@ -148,6 +148,16 @@ public:
|
|||
static unsigned int unhex(const char *hex,void *buf,unsigned int len);
|
||||
static inline unsigned int unhex(const std::string &hex,void *buf,unsigned int len) { return unhex(hex.c_str(),buf,len); }
|
||||
|
||||
/**
|
||||
* @param hex Hexadecimal ASCII
|
||||
* @param hexlen Length of hex ASCII
|
||||
* @param buf Buffer to fill
|
||||
* @param len Length of buffer
|
||||
* @return Number of bytes actually written to buffer
|
||||
*/
|
||||
static unsigned int unhex(const char *hex,unsigned int hexlen,void *buf,unsigned int len)
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @param buf Buffer to fill
|
||||
* @param bytes Number of random bytes to generate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue