#include <stdint.h>
#include "auth2.h"
Go to the source code of this file.
|
int | getauth2key (uint8_t *token, size_t token_size, uint8_t auth2key[AUTH2KEYSIZE]) |
|
int | generate_CodaToken (uint8_t auth2key[AUTH2KEYSIZE], uint32_t viceid, uint32_t lifetime, ClearToken *ctoken, EncryptedSecretToken estoken) |
|
int | validate_CodaToken (uint8_t auth2key[AUTH2KEYSIZE], EncryptedSecretToken estoken, uint32_t *viceid, time_t *endtime, RPC2_EncryptionKey *sessionkey) |
|
◆ AUTH2KEYSIZE
◆ generate_CodaToken()
int generate_CodaToken |
( |
uint8_t |
auth2key[AUTH2KEYSIZE], |
|
|
uint32_t |
viceid, |
|
|
uint32_t |
lifetime, |
|
|
ClearToken * |
ctoken, |
|
|
EncryptedSecretToken |
estoken |
|
) |
| |
◆ getauth2key()
int getauth2key |
( |
uint8_t * |
token, |
|
|
size_t |
token_size, |
|
|
uint8_t |
auth2key[AUTH2KEYSIZE] |
|
) |
| |
◆ validate_CodaToken()