Public Member Functions | Private Attributes

ACE::INet::SSL_X509Cert Class Reference

#include <SSL_X509Cert.h>

List of all members.

Public Member Functions

 SSL_X509Cert ()
 SSL_X509Cert (::X509 *ssl_cert)
 SSL_X509Cert (const SSL_X509Cert &cert)
 ~SSL_X509Cert ()
SSL_X509Certoperator= (::X509 *ssl_cert)
SSL_X509Certoperator= (const SSL_X509Cert &ssl_cert)
::X509 * operator& (void)

Private Attributes

::X509 * ssl_cert_

Detailed Description

Definition at line 31 of file SSL_X509Cert.h.


Constructor & Destructor Documentation

ACE::INet::SSL_X509Cert::SSL_X509Cert (  )  [inline]

Definition at line 13 of file SSL_X509Cert.inl.

      : ssl_cert_ (0)
      {
      }

ACE::INet::SSL_X509Cert::SSL_X509Cert ( ::X509 *  ssl_cert  )  [inline]

Definition at line 19 of file SSL_X509Cert.inl.

      : ssl_cert_ (0)
      {
        *this = ssl_cert;
      }

ACE::INet::SSL_X509Cert::SSL_X509Cert ( const SSL_X509Cert cert  )  [inline]

Definition at line 26 of file SSL_X509Cert.inl.

      {
        *this = cert;
      }

ACE::INet::SSL_X509Cert::~SSL_X509Cert (  )  [inline]

Definition at line 32 of file SSL_X509Cert.inl.

      {
      }


Member Function Documentation

X509 * ACE::INet::SSL_X509Cert::operator& ( void   )  [inline]

Definition at line 57 of file SSL_X509Cert.inl.

      {
        return this->ssl_cert_;
      }

SSL_X509Cert & ACE::INet::SSL_X509Cert::operator= ( ::X509 *  ssl_cert  )  [inline]

Definition at line 37 of file SSL_X509Cert.inl.

      {
        if (this->ssl_cert_ != 0)
          ::X509_free (this->ssl_cert_);

        if (ssl_cert != 0)
          CRYPTO_add (&(ssl_cert->references),
                      1,
                      CRYPTO_LOCK_X509);
        this->ssl_cert_ = ssl_cert;
        return *this;
      }

SSL_X509Cert & ACE::INet::SSL_X509Cert::operator= ( const SSL_X509Cert ssl_cert  )  [inline]

Definition at line 51 of file SSL_X509Cert.inl.

      {
        return (*this = &(const_cast<SSL_X509Cert&> (ssl_cert)));
      }


Member Data Documentation

Definition at line 45 of file SSL_X509Cert.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines