10 #ifndef AQEBICS_MSG_KEYS_H
11 #define AQEBICS_MSG_KEYS_H
16 #include <gwenhywfar/cryptkey.h>
17 #include <gwenhywfar/buffer.h>
18 #include <gwenhywfar/ct.h>
20 #include <libxml/tree.h>
32 unsigned int lenUserId,
33 const char *p,
unsigned int bsize);
EB_RC EB_Key_Info_ReadXml(GWEN_CRYPT_TOKEN_KEYINFO *ki, xmlNodePtr node)
EB_RC EB_Key_fromXml(GWEN_CRYPT_KEY **k, xmlNodePtr node)
int EB_Key_Info_toXml(const GWEN_CRYPT_TOKEN_KEYINFO *ki, xmlNodePtr node)
EB_RC EB_Key_toBin(const GWEN_CRYPT_KEY *k, const char *userId, const char *version, int keySize, GWEN_BUFFER *buf)
EB_RC EB_Key_Info_toBin(const GWEN_CRYPT_TOKEN_KEYINFO *ki, const char *userId, const char *version, int keySize, GWEN_BUFFER *buf)
EB_RC EB_Key_toXml(GWEN_CRYPT_KEY *k, xmlNodePtr node)
int EB_Key_Info_BuildSigHash_Sha256(const GWEN_CRYPT_TOKEN_KEYINFO *ki, GWEN_BUFFER *hbuf)
int EB_Key_BuildHashSha256(const GWEN_CRYPT_KEY *k, GWEN_BUFFER *hbuf, int encode64)
int EB_Key_Info_BuildSigHash_Rmd160(const GWEN_CRYPT_TOKEN_KEYINFO *ki, GWEN_BUFFER *hbuf)
int EB_Key_Info_BuildHashSha1(const GWEN_CRYPT_TOKEN_KEYINFO *ki, GWEN_BUFFER *hbuf, int encode64)
int EB_Key_BuildHashSha1(const GWEN_CRYPT_KEY *k, GWEN_BUFFER *hbuf, int encode64)
EB_RC EB_Key_fromBin(GWEN_CRYPT_KEY **k, const char *version, char *bufUserId, unsigned int lenUserId, const char *p, unsigned int bsize)
int EB_Key_Info_BuildHashSha256(const GWEN_CRYPT_TOKEN_KEYINFO *ki, GWEN_BUFFER *hbuf, int encode64)