Go to the documentation of this file.
   45 #ifndef CONFIG_CREDMAN_MAX_CREDENTIALS 
   46 #define CONFIG_CREDMAN_MAX_CREDENTIALS  (2) 
   93 #define CREDMAN_TAG_EMPTY   (0) 
  
 
void credman_delete(credman_tag_t tag, credman_type_t type)
Delete a credential from the credential pool.
 
ecdsa_params_t ecdsa
ECDSA credential parameters.
 
const void * s
Pointer to the buffer.
 
Buffer of the credential.
 
credman_buffer_t hint
Hint buffer.
 
int credman_get(credman_credential_t *credential, credman_tag_t tag, credman_type_t type)
Gets a credential from credential pool.
 
@ CREDMAN_INVALID
Invalid input parameter(s)
 
@ CREDMAN_NO_SPACE
No space in system pool for new credential.
 
@ CREDMAN_TYPE_PSK
PSK credential type.
 
credman_buffer_t key
Key buffer.
 
psk_params_t psk
PSK credential parameters.
 
ecdsa_public_key_t * client_keys
Array of clients public keys.
 
ecdsa_public_key_t public_key
Public key.
 
int credman_add(const credman_credential_t *credential)
Adds a credential to the credential pool.
 
const void * y
Y part of the public key.
 
@ CREDMAN_TYPE_UNKNOWN
Unknown credential type.
 
@ CREDMAN_ERROR
Other errors.
 
credman_type_t
Credential types.
 
@ CREDMAN_TYPE_ECDSA
ECDSA credential type.
 
uint16_t credman_tag_t
Tag of the credential.
 
size_t len
Length of credman_buffer_t::s.
 
int credman_get_used_count(void)
Gets the number of credentials currently in the credential pool.
 
const void * x
X part of the public key.
 
void credman_reset(void)
Empties the credential pool.
 
size_t client_keys_size
Size of ecdsa_params_t::clients_keys.
 
const void * private_key
Pointer to the private key.
 
credman_buffer_t id
ID buffer.
 
@ CREDMAN_EXIST
Credential already exist in system pool.
 
@ CREDMAN_NOT_FOUND
Credential not found in the system pool.
 
@ CREDMAN_TYPE_EMPTY
Empty type.
 
credman_type_t type
Type of the credential.
 
credman_tag_t tag
Tag of the credential.