C API for BALTECH SDK

§ brp_pki_get_session_buf_size()

BRP_LIB size_t brp_pki_get_session_buf_size ( brp_protocol  protocol)

Returns the size of the buffer requires to store the session state by brp_pki_save_session().

Returns
Size of persistens state in bytes or 0 on error.
Parameters
protocolthe pki protocol handle which shall be made persistent