OpenDNSSEC-libhsm  1.3.16
Data Fields
hsm_ctx_t Struct Reference

#include <libhsm.h>

Collaboration diagram for hsm_ctx_t:
Collaboration graph
[legend]

Data Fields

hsm_session_tsession [HSM_MAX_SESSIONS]
 
size_t session_count
 
int error
 
const char * error_action
 
char error_message [HSM_ERROR_MSGSIZE]
 

Detailed Description

HSM context to keep track of sessions

Definition at line 96 of file libhsm.h.

Field Documentation

int hsm_ctx_t::error

static string describing the action we were trying to do when the first error happened

Definition at line 101 of file libhsm.h.

Referenced by hsm_get_error().

const char* hsm_ctx_t::error_action

static string describing the first error

Definition at line 105 of file libhsm.h.

Referenced by hsm_get_error(), and sign().

char hsm_ctx_t::error_message[HSM_ERROR_MSGSIZE]

Definition at line 108 of file libhsm.h.

Referenced by hsm_get_error(), and sign().

hsm_session_t* hsm_ctx_t::session[HSM_MAX_SESSIONS]
size_t hsm_ctx_t::session_count

number of configured HSMs non-zero if the last operation failed (only the first error will be set)

Definition at line 98 of file libhsm.h.

Referenced by hsm_check_context(), hsm_count_keys(), hsm_detach(), hsm_list_keys(), hsm_nsec3_hash_name(), hsm_print_ctx(), hsm_print_tokeninfo(), hsm_random_buffer(), and hsm_token_attached().


The documentation for this struct was generated from the following file: