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 required to store the session state using brp_pki_save_session().

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