| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
Functions | |
| long * | BIO_set_conn_hostname (BIO *bio, char *name) |
| Sets the host name value name for the connection BIO bio when using a UDP or TCP-based BIO. More... | |
| long * | BIO_set_conn_port (BIO *bio, char *port) |
| Sets the port value port for the connection BIO bio. More... | |
| long * | BIO_set_conn_ip (BIO *bio, char *ip) |
| Sets the IP address value ip for the connection BIO bio. More... | |
| long * | BIO_set_conn_int_port (BIO *bio, int port) |
| Sets the port value port for the connection BIO bio. More... | |
| char * | BIO_get_conn_hostname (BIO *bio) |
| Returns a pointer to the host name for the connection BIO bio. More... | |
| char * | BIO_get_conn_port (BIO *bio) |
| Returns the port value for the connection BIO bio as a string. More... | |
| char * | BIO_get_conn_ip (BIO *bio) |
| Returns the IP address for the connection BIO bio. More... | |
| long | BIO_get_conn_int_port (BIO *bio, int *portp) |
| Returns the port number for the connection BIO bio. More... | |
| long | BIO_set_nbio (BIO *bio, int nb_flag) |
| Sets the I/O of the underlying connection to blocking or non-blocking BIO bio. More... | |
| char * | BIO_set_accept_port (BIO *bio, char *name) |
| Sets the port information for the accept socket of the server. More... | |
| char * | BIO_get_accept_port (BIO *bio) |
| Returns the port information for the accept socket of the server. More... | |
| long | BIO_set_nbio_accept (BIO *accept_bio, int nb_flag) |
| Sets to blocking or non-blocking I/O of the underlying connection BIO bio. More... | |
| long | BIO_set_accept_bios (BIO *accept_bio, BIO *template_bio) |
| Sets the template BIO template_bio that is automatically duplicated when a successful connection occurs on accept_bio. More... | |
| long | BIO_set_bind_mode (BIO *bio, int mode) |
| Sets the relevant TCP/IP flag allowing a socket to be re-bound. More... | |
| long | BIO_get_bind_mode (BIO *bio) |
| Returns the relevant TCP/IP flag for the BIO bio indicating whether a socket can be re-bound. More... | |
| int | BIO_do_connect (BIO *bio) |
| Sets up a client side connection socket on the connect BIO bio. More... | |
| int | BIO_do_accept (BIO *bio) |
| Sets up a service side socket that accepts an incoming socket connection on the accept BIO bio. More... | |
| int | BIO_do_handshake (BIO *bio) |
| Attempts to perform the next state in a BIO handshake for BIOs containing state engines. More... | |
| long | BIO_set_fd (BIO *bio, int fd, int close_flag) |
| Sets the read file descriptor fd to be associated with the BIO bio. More... | |
| long | BIO_get_fd (BIO *bio, char *fd) |
| Retrieves the read file descriptor fd associated with the BIO bio. More... | |
| long | BIO_set_ssl (BIO *bio, SSL *ssl, int close_flag) |
| Sets the SSL structure ssl for the BIO bio. More... | |
| long | BIO_get_ssl (BIO *bio, SSL **sslp) |
| Returns the SSL structure for the SSL BIO bio. More... | |
| long | BIO_set_ssl_mode (BIO *bio, int client) |
| Sets the connection state client of the SSL for the BIO bio. More... | |
| int | BIO_set_ssl_renegotiate_bytes (BIO *bio, int num) |
| Sets the number of Bytes that are sent between renegotiations for the SSL BIO bio. More... | |
| int | BIO_set_ssl_renegotiate_timeout (BIO *bio, int seconds) |
| Sets the renegotiation period for the SSL BIO bio. More... | |
| int | BIO_set_mem_eof_return (BIO *bio, long v) |
| Sets the BIO bio End Of File (EOF) status. More... | |
| int | BIO_get_buffer_num_lines (BIO *bio) |
| Returns the number of lines in buffer BIO bio. More... | |
| int | BIO_set_buffer_size (BIO *bio, long size) |
| Sets the buffer size of BIO bio. More... | |
| int | BIO_set_read_buffer_size (BIO *bio, long size) |
| Sets the read buffer size of BIO bio. More... | |
| int | BIO_set_write_buffer_size (BIO *bio, long size) |
| Sets the write buffer size of BIO bio. More... | |
| int | BIO_set_buffer_read_data (BIO *bio, char *buf, long num) |
| Sets the buffer read data for BIO bio. More... | |
| int | BIO_reset (BIO *bio) |
| Resets the BIO bio to its initial state. More... | |
| int | BIO_eof (BIO *bio) |
| Retrieves the status whether End-of-File (EOF) has been reached or not, against BIO bio. More... | |
| BIO_METHOD* R_CDECL | BIO_s_file () |
| Returns a reference to the static BIO_METHOD used by a file source sink BIO. More... | |
| int R_CDECL | BIO_read (BIO *bio, char *out, int outl) |
| Reads data through the BIO bio. More... | |
| int R_CDECL | BIO_gets (BIO *bio, char *in, int inl) |
| Reads a string from the BIO bio into the specified buffer in. More... | |
| int R_CDECL | BIO_write (BIO *bio, char *in, int inl) |
| Writes data through the BIO bio. More... | |
| int R_CDECL | BIO_puts (BIO *bio, char *in) |
Writes the NULL terminated string contained in in to the BIO bio. More... | |
| long R_CDECL | BIO_ctrl (BIO *bio, int cmd, long larg, char *parg) |
| Provides the replaceable point for all implementation-specific behavior for the I/O. More... | |
| BIO* R_CDECL | BIO_push (BIO *bio, BIO *stack) |
| Pushes the BIO bio onto the existing BIO stack and returns a pointer to the new stack. More... | |
| BIO* R_CDECL | BIO_pop (BIO *bio) |
| Pops the uppermost BIO bio from the BIO stack and returns the remaining BIO stack. More... | |
| BIO* R_CDECL | BIO_find_type (BIO *bio, int type) |
| Returns a BIO from the stack bio with a specified type. More... | |
| BIO* R_CDECL | BIO_get_retry_BIO (BIO *bio, int *reason) |
| Walks the BIO stack bio and returns the first BIO found that has a retry error set and the reason why the operation should be retried. More... | |
| BIO* R_CDECL | BIO_dup_chain (BIO *in) |
| Iterates down the BIO stack bio and creates a new copy of each BIO. More... | |
| long MS_CALLBACK R_CDECL | BIO_debug_cb (BIO *bio, int cmd, char *argp, int argi, long argl, long ret) |
| Sets a prepared callback for the BIO structure bio to output debug information via BIO_set_cb(). More... | |
| BIO_METHOD* R_CDECL | BIO_s_mem () |
| Returns a reference to the static BIO_METHOD used by a memory source sink BIO. More... | |
| BIO_METHOD* R_CDECL | BIO_s_null () |
Returns a reference to the static BIO_METHOD used by a NULL source sink BIO. More... | |
| BIO_METHOD* R_CDECL | BIO_f_null () |
Returns a reference to the static BIO_METHOD used by a NULL filter BIO. More... | |
| BIO_METHOD* R_CDECL | BIO_f_buffer () |
| Returns a reference to the static BIO_METHOD used by a buffer filter BIO. More... | |
| int R_CDECL | BIO_dump (BIO *bio, unsigned char *bytes, int len) |
Dumps the contents of binary data buffer bytes to the BIO structure bio in hexadecimal and ASCII form, removing any trailing spaces or NULL characters. More... | |
| int R_CDECL | BIO_dump_format (BIO *bio, unsigned char *data, int len, int format, int separator, int indent, int wrap) |
| Specifies the format for dumping the contents of the BIO structure bio. More... | |
| BIO* R_CDECL | BIO_new_mem () |
| Creates a memory BIO where all read and write operations refer to an internal memory buffer. More... | |
| BIO* R_CDECL | BIO_new_socket (SIO_SOCK fd, int close_flag) |
| Creates a socket BIO for a socket file descriptor fd where all read and write operations refer to the socket. More... | |
| BIO* R_CDECL | BIO_new_connect (char *host_port) |
| Creates a new BIO for use by other BIO functions when connecting to remote machines via TCP. More... | |
| BIO* R_CDECL | BIO_new_accept (char *host_port) |
| Creates a new accept BIO which listens on the TCP port host_port. More... | |
| void R_CDECL | BIO_copy_next_retry (BIO *bio) |
| Copies the retry flags and reason from the next BIO in the BIO stack to this BIO bio in order to propagate the retry values up one element in the BIO stack. More... | |
| void R_CDECL | BIO_reference_inc (BIO *bio) |
| Increments the reference count for the BIO bio. More... | |
|
|
Copies the retry flags and reason from the next BIO in the BIO stack to this BIO bio in order to propagate the retry values up one element in the BIO stack.
|
|
||||||||||||||||||||
|
Provides the replaceable point for all implementation-specific behavior for the I/O. Convenience functions are available to access the functionality provided.
|
|
||||||||||||||||||||||||||||
|
Sets a prepared callback for the BIO structure bio to output debug information via BIO_set_cb(). If set, the callback is called for operations including BIO_read() and BIO_write().
The text output of this callback is re-directed to (BIO
|
|
|
Sets up a service side socket that accepts an incoming socket connection on the accept BIO bio. There is no type checking on the BIO when BIO_do_accept() is called. Developers therefore must ensure it is an accept BIO. After the connection is established, BIO_pop() can be used to retrieve the newly established socket BIO. The first time BIO_do_accept() is called, it performs any required host name lookups and attempts to bind to the socket. Subsequent successful calls to BIO_do_accept() will return when a socket connection has been established.
|
|
|
Sets up a client side connection socket on the connect BIO bio.
|
|
|
Attempts to perform the next state in a BIO handshake for BIOs containing state engines.
|
|
||||||||||||||||
|
Dumps the contents of binary data buffer bytes to the BIO structure bio in hexadecimal and ASCII form, removing any trailing spaces or
|
|
||||||||||||||||||||||||||||||||
|
Specifies the format for dumping the contents of the BIO structure bio. This function is the general purpose hexadecimal dump function.
|
|
|
Iterates down the BIO stack bio and creates a new copy of each BIO. The copies are pushed onto a duplicate stack.
|
|
|
Retrieves the status whether End-of-File (EOF) has been reached or not, against BIO bio.
|
|
|
Returns a reference to the static BIO_METHOD used by a buffer filter BIO. The buffer filter BIO is used to store data where the next BIO in the BIO stack is non-blocking, and may not be able to read or write all requested data within a single call.
|
|
|
Returns a reference to the static BIO_METHOD used by a |
|
||||||||||||
|
Returns a BIO from the stack bio with a specified type.
|
|
|
Returns the port information for the accept socket of the server.
|
|
|
Returns the relevant TCP/IP flag for the BIO bio indicating whether a socket can be re-bound. This function is used when restarting the application after a socket shutdown did not execute cleanly. It should only be used for accept BIOs.
|
|
|
Returns the number of lines in buffer BIO bio.
|
|
|
Returns a pointer to the host name for the connection BIO bio.
|
|
||||||||||||
|
Returns the port number for the connection BIO bio.
|
|
|
Returns the IP address for the connection BIO bio.
|
|
|
Returns the port value for the connection BIO bio as a string.
|
|
||||||||||||
|
Retrieves the read file descriptor fd associated with the BIO bio. The file descriptor is set by a prior call to BIO_set_fd().
|
|
||||||||||||
|
Walks the BIO stack bio and returns the first BIO found that has a retry error set and the reason why the operation should be retried.
|
|
||||||||||||
|
Returns the SSL structure for the SSL BIO bio.
|
|
||||||||||||||||
|
Reads a string from the BIO bio into the specified buffer in. The function is modeled on the standard
|
|
|
Creates a new accept BIO which listens on the TCP port host_port. host_port is a text string of the form
|
|
|
Creates a new BIO for use by other BIO functions when connecting to remote machines via TCP. host_port is a text string of the form
|
|
|
Creates a memory BIO where all read and write operations refer to an internal memory buffer.
|
|
||||||||||||
|
Creates a socket BIO for a socket file descriptor fd where all read and write operations refer to the socket.
|
|
|
Pops the uppermost BIO bio from the BIO stack and returns the remaining BIO stack.
|
|
||||||||||||
|
Pushes the BIO bio onto the existing BIO stack and returns a pointer to the new stack.
|
|
||||||||||||
|
Writes the
|
|
||||||||||||||||
|
Reads data through the BIO bio. The amount of data to read is specified in outl.
|
|
|
Increments the reference count for the BIO bio.
|
|
|
Resets the BIO bio to its initial state.
|
|
|
Returns a reference to the static BIO_METHOD used by a file source sink BIO. The file source sink BIO is only available on platforms supporting file operations.
|
|
|
Returns a reference to the static BIO_METHOD used by a memory source sink BIO.
|
|
|
Returns a reference to the static BIO_METHOD used by a
|
|
||||||||||||
|
Sets the template BIO template_bio that is automatically duplicated when a successful connection occurs on accept_bio.
|
|
||||||||||||
|
Sets the port information for the accept socket of the server.
|
|
||||||||||||
|
Sets the relevant TCP/IP flag allowing a socket to be re-bound. The BIO is bio with a bind mode of mode. This is used when restarting the application after a socket shutdown did not execute cleanly.
|
|
||||||||||||||||
|
Sets the buffer read data for BIO bio.
|
|
||||||||||||
|
Sets the buffer size of BIO bio.
|
|
||||||||||||
|
Sets the host name value name for the connection BIO bio when using a UDP or TCP-based BIO.
|
|
||||||||||||
|
Sets the port value port for the connection BIO bio.
|
|
||||||||||||
|
Sets the IP address value ip for the connection BIO bio.
|
|
||||||||||||
|
Sets the port value port for the connection BIO bio.
|
|
||||||||||||||||
|
Sets the read file descriptor fd to be associated with the BIO bio.
|
|
||||||||||||
|
Sets the BIO bio End Of File (EOF) status.
|
|
||||||||||||
|
Sets the I/O of the underlying connection to blocking or non-blocking BIO bio. This function is only valid for connect BIOs and accept BIOs (those created via BIO_new_accept() or BIO_new_connect()). It is not valid for socket BIOs (those created via BIO_new_socket()). In order to make a normal socket BIO be non-blocking, the socket must be non-blocking before it is attached to a BIO.
|
|
||||||||||||
|
Sets to blocking or non-blocking I/O of the underlying connection BIO bio. This function is only valid for accept BIOs (those created via BIO_new_accept()). It is not valid for socket BIOs or connect BIOs (those created via BIO_new_socket() or BIO_new_connect()).
|
|
||||||||||||
|
Sets the read buffer size of BIO bio.
|
|
||||||||||||||||
|
Sets the SSL structure ssl for the BIO bio. The SSL structure previously set for this BIO is freed.
|
|
||||||||||||
|
Sets the connection state client of the SSL for the BIO bio.
|
|
||||||||||||
|
Sets the number of Bytes that are sent between renegotiations for the SSL BIO bio.
|
|
||||||||||||
|
Sets the renegotiation period for the SSL BIO bio. The renegotiation period specifies the elapsed time between renegotiations.
|
|
||||||||||||
|
Sets the write buffer size of BIO bio.
|
|
||||||||||||||||
|
Writes data through the BIO bio. The amount of data to write is specified in inl. This function returns the number of Bytes successfully written.
|