![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| BRP_LIB brp_errcode brp_pki_restore_session | ( | brp_protocol | protocol, |
| brp_buf | persistent_buf, | ||
| size_t | persistent_buf_size | ||
| ) |
This command reloads the current PKI session that was stored by brp_pki_save_session().
This command must be run between brp_create_pki() and brp_open(), as otherwise opening a PKI protocol runs a complete authentication sequence.
| protocol | a PKI protocol handle that shall be saved |
| persistent_buf | a pointer to a buffer from where to load the session |
| persistent_buf_size | size of persistent_session in bytes |