| Strophe
    0.9
    XMPP client library | 
Public interface for digests and encodings used in XEPs. More...
| Data Structures | |
| struct | xmpp_sha1_t | 
| Functions | |
| static char * | digest_to_string (const uint8_t *digest, char *s, size_t len) | 
| static char * | digest_to_string_alloc (xmpp_ctx_t *ctx, const uint8_t *digest) | 
| char * | xmpp_sha1 (xmpp_ctx_t *ctx, const unsigned char *data, size_t len) | 
| Compute SHA1 message digest Returns an allocated string which represents SHA1 message digest in hexadecimal notation.  More... | |
| xmpp_sha1_t * | xmpp_sha1_new (xmpp_ctx_t *ctx) | 
| Create new SHA1 object.  More... | |
| void | xmpp_sha1_free (xmpp_sha1_t *sha1) | 
| Destroy SHA1 object.  More... | |
| void | xmpp_sha1_update (xmpp_sha1_t *sha1, const unsigned char *data, size_t len) | 
| Update SHA1 context with the next portion of data Can be called repeatedly.  More... | |
| void | xmpp_sha1_final (xmpp_sha1_t *sha1) | 
| Finish SHA1 computation Don't call xmpp_sha1_update() after this function.  More... | |
| char * | xmpp_sha1_to_string (xmpp_sha1_t *sha1, char *s, size_t slen) | 
| Return message digest rendered as a string Stores the string to a user's buffer and returns the buffer.  More... | |
| char * | xmpp_sha1_to_string_alloc (xmpp_sha1_t *sha1) | 
| Return message digest rendered as a string Returns an allocated string.  More... | |
| void | xmpp_sha1_to_digest (xmpp_sha1_t *sha1, unsigned char *digest) | 
| Stores message digest to a user's buffer.  More... | |
| static size_t | base64_encoded_len (const size_t len) | 
| static char * | base64_encode (xmpp_ctx_t *ctx, const unsigned char *const buffer, const size_t len) | 
| static size_t | base64_decoded_len (const char *const buffer, const size_t len) | 
| static void | base64_decode (xmpp_ctx_t *ctx, const char *const buffer, const size_t len, unsigned char **out, size_t *outlen) | 
| char * | xmpp_base64_encode (xmpp_ctx_t *ctx, const unsigned char *data, size_t len) | 
| Base64 encoding routine Returns an allocated string which must be freed with xmpp_free().  More... | |
| char * | xmpp_base64_decode_str (xmpp_ctx_t *ctx, const char *base64, size_t len) | 
| Base64 decoding routine Returns an allocated string which must be freed with xmpp_free().  More... | |
| void | xmpp_base64_decode_bin (xmpp_ctx_t *ctx, const char *base64, size_t len, unsigned char **out, size_t *outlen) | 
| Base64 decoding routine Returns an allocated buffer which must be freed with xmpp_free().  More... | |
| Variables | |
| static const unsigned char | _base64_invcharmap [256] | 
| static const char | _base64_charmap [65] | 
Public interface for digests and encodings used in XEPs.
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static |