Represents the IceSSL plug-in object.
More...
#include <IceSSL/IceSSL.h>
|
| 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 (std::function< bool(const std::shared_ptr< ConnectionInfo > &)> v)=0 |
| | Establish the certificate verifier object.
|
| virtual void | setPasswordPrompt (std::function< std::string()> p)=0 |
| | Establish the password prompt object.
|
| virtual | ~Plugin () |
| virtual void | destroy ()=0 |
| | Called when the communicator is being destroyed.
|
| virtual void | initialize ()=0 |
| | Perform any necessary initialization steps.
|
Represents the IceSSL plug-in object.
◆ ~Plugin()
| virtual IceSSL::Plugin::~Plugin |
( |
| ) |
|
|
virtual |
◆ 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
-
| str | A string containing the encoded certificate. |
- Exceptions
-
◆ 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
-
| file | The certificate file. |
- Exceptions
-
◆ setCertificateVerifier()
| virtual void IceSSL::Plugin::setCertificateVerifier |
( |
std::function< bool(const std::shared_ptr< ConnectionInfo > &)> | v | ) |
|
|
pure virtual |
Establish the certificate verifier object.
This should be done before any connections are established.
- Parameters
-
◆ setPasswordPrompt()
| virtual void IceSSL::Plugin::setPasswordPrompt |
( |
std::function< std::string()> | p | ) |
|
|
pure virtual |
Establish the password prompt object.
This must be done before the plug-in is initialized.
- Parameters
-
The documentation for this class was generated from the following file: