#include <SSLIOP_EVP_PKEY.h>
Public Types | |
enum | { LOCK_ID = CRYPTO_LOCK_EVP_PKEY } |
Static Public Member Functions | |
::EVP_PKEY * | _duplicate (::EVP_PKEY *st) |
Increase the reference count on the given OpenSSL structure. | |
::EVP_PKEY * | copy (::EVP_PKEY const &key) |
Perform deep copy of the given OpenSSL structure. | |
void | release (::EVP_PKEY *st) |
|
OpenSSL lock ID for use in OpenSSL CRYPTO_add() reference count manipulation function. Definition at line 41 of file SSLIOP_EVP_PKEY.h.
00041 { LOCK_ID = CRYPTO_LOCK_EVP_PKEY }; |
|
Increase the reference count on the given OpenSSL structure.
Definition at line 49 of file SSLIOP_EVP_PKEY.h. References EVP_PKEY.
00050 { 00051 if (st != 0) 00052 CRYPTO_add (&(st->references), 00053 1, 00054 LOCK_ID); 00055 00056 return st; 00057 } |
|
Perform deep copy of the given OpenSSL structure.
|
|
Decrease the reference count on the given OpenSSL structure. Definition at line 64 of file SSLIOP_EVP_PKEY.h. References EVP_PKEY.
00065 { 00066 ::EVP_PKEY_free (st); 00067 } |