#include <SSLIOP_X509.h>
Public Types | |
enum | { LOCK_ID = CRYPTO_LOCK_X509 } |
Static Public Member Functions | |
::X509 * | _duplicate (::X509 *st) |
Increase the reference count on the given OpenSSL structure. | |
::X509 * | copy (::X509 const &st) |
Perform deep copy of the given OpenSSL structure. | |
void | release (::X509 *st) |
|
OpenSSL lock ID for use in OpenSSL CRYPTO_add() reference count manipulation function. Definition at line 42 of file SSLIOP_X509.h.
00042 { LOCK_ID = CRYPTO_LOCK_X509 }; |
|
Increase the reference count on the given OpenSSL structure.
Definition at line 50 of file SSLIOP_X509.h. References X509.
00051 { 00052 if (st != 0) 00053 CRYPTO_add (&(st->references), 00054 1, 00055 LOCK_ID); 00056 00057 return st; 00058 } |
|
Perform deep copy of the given OpenSSL structure.
Definition at line 61 of file SSLIOP_X509.h. References X509.
00062 { 00063 return ::X509_dup (const_cast< ::X509 *> (&st)); 00064 } |
|
Decrease the reference count on the given OpenSSL structure. Definition at line 68 of file SSLIOP_X509.h. References X509.
00069 { 00070 ::X509_free (st); 00071 } |