| RSA BSAFE SSL-C |
Security protocol components for C |
| Search |
Functions | |
| SSL_CIPHER* | SSL_get_current_cipher (SSL *ssl) |
| Returns the current SSL_CIPHER structure for the specified ssl. More... | |
| int | SSL_CIPHER_get_bits (SSL_CIPHER *cipher, int *alg_bits) |
| Returns the number of key bits for symmetric ciphers. More... | |
| unsigned long | SSL_CIPHER_get_id (SSL_CIPHER *cipher) |
| Returns the unique numeric identifier of a cipher suite. More... | |
| char* | SSL_CIPHER_get_version (SSL_CIPHER *cipher) |
| Returns the SSL protocol version of the cipher suite. More... | |
| char* | SSL_CIPHER_get_name (SSL_CIPHER *cipher) |
| Returns a reference to the name of the cipher suite. More... | |
| char* | SSL_CIPHER_description (SSL_CIPHER *cipher, char *buffer, int size) |
| Returns a text string describing a cipher suite. More... | |
|
||||||||||||||||
|
Returns a text string describing a cipher suite. The string includes the applicable SSL version(s), key exchange, authentication, encryption and message digest mechanisms, and the cipher strengths in bits.
|
|
||||||||||||
|
Returns the number of key bits for symmetric ciphers. There are two key sizes returned by this function that represent the full key size and the effective key size. The full key size is determined by the algorithm. For example, RC4 always uses a 128-bit key. The effective key size is the important determiner of how much entropy the key contributes and therefore how much security the key provides. RC4 40 has an effective size of 40 bits within the 128-bit RC4 key.
|
|
|
Returns the unique numeric identifier of a cipher suite. The first two hexadecimal digits hold the SSL protocol version (2 or 3). For SSLv2 the next two digits hold an index for the cipher and the last four hexadecimal digits hold the number of bits of the encryption cipher. For SSLv3 the remaining hexadecimal digits (six) hold an index for the cipher.
|
|
|
Returns a reference to the name of the cipher suite.
|
|
|
Returns the SSL protocol version of the cipher suite.
|
|
|
Returns the current SSL_CIPHER structure for the specified ssl. For example, the current cipher may be RC4 used with SSLv3, 56-bit encryption, RSA key exchange and authentication and SHA-1 message authentication. Other functions can be used to extract these details from the returned SSL_CIPHER structure.
|