Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
IceSSL::Plugin Class Referenceabstract

Represents the IceSSL plug-in object. More...

#include <IceSSL/IceSSL.h>

Inheritance diagram for IceSSL::Plugin:
Collaboration diagram for IceSSL::Plugin:

Public Member Functions

virtual CertificatePtr decode (const std::string &str) const =0
 Decode a certificate from a string that uses the PEM encoding format.
virtual CertificatePtr load (const std::string &file) const =0
 Load the certificate from a file.
virtual void setCertificateVerifier (const CertificateVerifierPtr &v)=0
 Establish the certificate verifier object.
virtual void setPasswordPrompt (const PasswordPromptPtr &p)=0
 Establish the password prompt object.
virtual ~Plugin ()
Public Member Functions inherited from Ice::Plugin
virtual void destroy ()=0
 Called when the communicator is being destroyed.
virtual void initialize ()=0
 Perform any necessary initialization steps.
Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
virtual bool operator== (const LocalObject &) const
Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
virtual void __decRef ()
virtual int __getRef () const
bool __hasFlag (unsigned char flag)
virtual void __incRef ()
void __setFlag (unsigned char flag)
virtual void __setNoDelete (bool)
Sharedoperator= (const Shared &)
 Shared ()
 Shared (const Shared &)
virtual ~Shared ()

Additional Inherited Members

Public Types inherited from Ice::Plugin
typedef PluginPtr PointerType
Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
IceUtilInternal::Atomic _ref

Detailed Description

Represents the IceSSL plug-in object.

Constructor & Destructor Documentation

◆ ~Plugin()

virtual IceSSL::Plugin::~Plugin ( )
virtual

Reimplemented from Ice::Plugin.

Member Function Documentation

◆ decode()

virtual CertificatePtr IceSSL::Plugin::decode ( const std::string & str) const
pure virtual

Decode a certificate from a string that uses the PEM encoding format.

Parameters
strA string containing the encoded certificate.
Exceptions
CertificateEncodingExceptionif an error occurs.

◆ load()

virtual CertificatePtr IceSSL::Plugin::load ( const std::string & file) const
pure virtual

Load the certificate from a file.

The certificate must use the PEM encoding format.

Parameters
fileThe certificate file.
Exceptions
CertificateReadExceptionif the file cannot be read.

◆ setCertificateVerifier()

virtual void IceSSL::Plugin::setCertificateVerifier ( const CertificateVerifierPtr & v)
pure virtual

Establish the certificate verifier object.

This should be done before any connections are established.

Parameters
vThe verifier.

◆ setPasswordPrompt()

virtual void IceSSL::Plugin::setPasswordPrompt ( const PasswordPromptPtr & p)
pure virtual

Establish the password prompt object.

This must be done before the plug-in is initialized.

Parameters
pThe password prompt.

The documentation for this class was generated from the following file: