| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
Functions | |
| long | SSL_add_explicit_cert_chain (SSL *ssl, SSLCERT *x509) |
| Allows precise specification of the certificate chain to be sent in addition to the SSL's own certificate. More... | |
| long | SSL_clear_explicit_cert_chain (SSL *ssl) |
| Removes all certificates in an explicit certificate chain attached to an ssl. More... | |
| int R_CDECL | SSL_set_cipher_list (SSL *ssl, char *str) |
| Specifies the ciphers to be used by the SSL. More... | |
| char* R_CDECL | SSL_get_cipher_list (SSL *ssl, int idx) |
| Returns the textual name for the cipher at the given index. More... | |
| char* R_CDECL | SSL_get_shared_ciphers (SSL *ssl, char *buffer, int len) |
| Returns the names of the shared ciphers of the SSL on the server. More... | |
| void R_CDECL | SSL_set_connect_state (SSL *ssl) |
| Sets the SSL flags and functions for a client-side connection. More... | |
| void R_CDECL | SSL_set_accept_state (SSL *ssl) |
| Sets the SSL connection ssl in the accept state (that is, the server side of an SSL connection). More... | |
| int R_CDECL | SSL_get_peer_cert_chain_count (SSL *ssl) |
| Returns the number of items in the certificate chain sent by the peer application for the SSL connection ssl. More... | |
| SSLCERT* R_CDECL | SSL_get_peer_cert_chain_item (SSL *ssl, int n) |
| Returns a pointer to an element of the chain of certificate information sent by the peer application for the SSL connection ssl. More... | |
| int R_CDECL | SSL_get_ciphers_count (SSL *ssl) |
| Returns the number of ciphers in the cipher list for the specified ssl. More... | |
| SSL_CIPHER* R_CDECL | SSL_get_ciphers_item (SSL *ssl, int n) |
| Returns a specific cipher in the cipher list for the specified ssl. More... | |
| int R_CDECL | SSL_pending (SSL *ssl) |
| Indicates additional buffered data is available internally for the application to read for the specified ssl. More... | |
| char* R_CDECL | SSL_get_version (SSL *ssl) |
| Returns a string representation of the SSL protocol version of the SSL. More... | |
| SSLCERT* R_CDECL | SSL_get_certificate (SSL *ssl) |
| Returns the current authenticating certificate of the SSL. More... | |
| SSLCERT_PKEY* R_CDECL | SSL_get_privatekey (SSL *ssl) |
| Returns the currently active private key of the SSL. More... | |
| SSLCERT* R_CDECL | SSL_get_peer_certificate (SSL *ssl) |
| Returns the peer certificate of an SSL. More... | |
| int | SSL_version (SSL *ssl) |
| Returns the SSL version negotiated during the handshake. More... | |
|
||||||||||||
|
Allows precise specification of the certificate chain to be sent in addition to the SSL's own certificate. The function adds a single certificate to an existing or empty chain. The chain will be sent in the order that the certificates are added (that is, the first certificate added will be the first certificate sent after the SSL's own certificate).
|
|
|
Removes all certificates in an explicit certificate chain attached to an ssl. The certificate structures are also freed by this operation.
|
|
|
Returns the current authenticating certificate of the SSL.
|
|
||||||||||||
|
Returns the textual name for the cipher at the given index. Allows iterations on the list of the ciphers available for use for the specified ssl.
|
|
|
Returns the number of ciphers in the cipher list for the specified ssl.
|
|
||||||||||||
|
Returns a specific cipher in the cipher list for the specified ssl.
|
|
|
Returns the number of items in the certificate chain sent by the peer application for the SSL connection ssl. This function should be called after the handshake or re-negotiation finishes. It also contains valid values during the certificate verification process.
|
|
||||||||||||
|
Returns a pointer to an element of the chain of certificate information sent by the peer application for the SSL connection ssl. The application uses this information to help verify the passed certificate. This function should be called after the handshake or re-negotiation finishes. It also contains valid values when called from verification callbacks.
|
|
|
Returns the peer certificate of an SSL. After establishing the SSL connection ssl, this function indicates the certificate used by the peer. There is no peer certificate if the process is a server and is not performing client authentication.
|
|
|
Returns the currently active private key of the SSL.
|
|
||||||||||||||||
|
Returns the names of the shared ciphers of the SSL on the server.
|
|
|
Returns a string representation of the SSL protocol version of the SSL. This function should be called after the connection is established, and indicates whether SSLv2, SSLv3 or TLSv1 was negotiated as the communications protocol for the specified ssl.
|
|
|
Indicates additional buffered data is available internally for the application to read for the specified ssl. This results from the way the SSL protocol encrypts data in blocks, which have to be decrypted as a whole, but the application may only partly read the decrypted block. The remaining Bytes can be read from the internal decrypted data buffer without reading any more data from the peer. When using
|
|
|
Sets the SSL connection ssl in the accept state (that is, the server side of an SSL connection). Therefore when an SSL_do_handshake() or an SSL_read() or SSL_write() is called, the server side of the SSL protocol is initiated. Resets all data in the SSL but does not perform a handshake.
|
|
||||||||||||
|
Specifies the ciphers to be used by the SSL. Sets the ciphers available for use with the SSL connection ssl. The ciphers specified in str override the ciphers specified via SSL_CTX_set_cipher_list().
|
|
|
Sets the SSL flags and functions for a client-side connection. Puts the SSL connection reference ssl in the connect state (that is, the client side of an SSL connection). Therefore when an SSL_do_handshake() or an SSL_read() or SSL_write() is called, the client side of the SSL protocol is initiated. Resets all data in the SSL but does not perform a handshake.
|
|
|
Returns the SSL version negotiated during the handshake. There are three options: SSL2_VERSION. SSL3_VERSION. TLS1_VERSION (both TLSv1 and SSLv23).
|