Manual Pages for UNIX Darwin command on man SSL_get_cipher_bits
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_get_cipher_bits

SSLgetcurrentcipher(3) OpenSSL SSLgetcurrentcipher(3)

NAME

SSLgetcurrentcipher, SSLgetcipher, SSLgetciphername,

SSLgetcipherbits, SSLgetcipherversion - get SSLCIPHER of a

connection

SYNOPSIS

#include

SSLCIPHER *SSLgetcurrentcipher(const SSL *ssl);

#define SSLgetcipher(s) \

SSLCIPHERgetname(SSLgetcurrentcipher(s))

#define SSLgetciphername(s) \

SSLCIPHERgetname(SSLgetcurrentcipher(s))

#define SSLgetcipherbits(s,np) \

SSLCIPHERgetbits(SSLgetcurrentcipher(s),np)

#define SSLgetcipherversion(s) \

SSLCIPHERgetversion(SSLgetcurrentcipher(s))

DESCRIPTION

SSLgetcurrentcipher() returns a pointer to an SSLCIPHER object containing the description of the actually used cipher of a connection established with the ssssll object. SSLgetcipher() and SSLgetciphername() are identical macros to obtain the name of the currently used cipher. SSLgetcipherbits() is a macro to obtain the number of secret/algorithm bits used and SSLgetcipherversion() returns the protocol name. See SSLCIPHERgetname(3) for more details.

RETURN VALUES

SSLgetcurrentcipher() returns the cipher actually used or NULL, when no session has been established.

SEE ALSO

ssl(3), SSLCIPHERgetname(3)

0.9.7l 2005-03-30 SSLgetcurrentcipher(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™