TAO::SSLIOP::OpenSSL_traits< ::EVP_PKEY > Struct Template Reference

#include <SSLIOP_EVP_PKEY.h>

List of all members.

Public Types

 LOCK_ID = CRYPTO_LOCK_EVP_PKEY
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_PKEYcopy (::EVP_PKEY const &key)
 Perform deep copy of the given OpenSSL structure.
static void release (::EVP_PKEY *st)


Detailed Description

template<>
struct TAO::SSLIOP::OpenSSL_traits< ::EVP_PKEY >

Definition at line 37 of file SSLIOP_EVP_PKEY.h.


Member Enumeration Documentation

anonymous enum

OpenSSL lock ID for use in OpenSSL CRYPTO_add() reference count manipulation function.

Enumerator:
LOCK_ID 

Definition at line 41 of file SSLIOP_EVP_PKEY.h.

00041 { LOCK_ID = CRYPTO_LOCK_EVP_PKEY };


Member Function Documentation

::EVP_PKEY* TAO::SSLIOP::OpenSSL_traits< ::EVP_PKEY >::_duplicate ( ::EVP_PKEY st  )  [inline, static]

Increase the reference count on the given OpenSSL structure.

Note:
This used to be in a function template but MSVC++ 6 can't handle function templates correctly so reproduce the code in each specialization. *sigh*

Definition at line 49 of file SSLIOP_EVP_PKEY.h.

00050       {
00051         if (st != 0)
00052           CRYPTO_add (&(st->references),
00053                       1,
00054                       LOCK_ID);
00055 
00056         return st;
00057       }

::EVP_PKEY* TAO::SSLIOP::OpenSSL_traits< ::EVP_PKEY >::copy ( ::EVP_PKEY const &  key  )  [static]

Perform deep copy of the given OpenSSL structure.

static void TAO::SSLIOP::OpenSSL_traits< ::EVP_PKEY >::release ( ::EVP_PKEY st  )  [inline, static]

Decrease the reference count on the given OpenSSL structure.

Definition at line 64 of file SSLIOP_EVP_PKEY.h.

00065       {
00066         ::EVP_PKEY_free (st);
00067       }


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 17:48:59 2010 for TAO_SSLIOP by  doxygen 1.4.7