![]() |
OpendTect 8.0
|
Provides access to the core ODOpenSSL API Will load the ODOpenSSL plugin at runtime without introducing dependencies The plugin remains fully managed by the plugin manager PIM()
More...
#include <opensslaccess.h>
Public Member Functions | |
| OpenSSLAccess () | |
| ~OpenSSLAccess () | |
| bool | decryptFromFile (const char *fnm, BufferString &, uiRetVal &, const Crypto::PassPhrase &, int nriters=sDefNrIters(), bool base64=sDefBase64(), const char *cipher=sKeyDefCipher()) const |
| bool | encryptToFile (const OD::String &, const char *fnm, uiRetVal &, const Crypto::PassPhrase &, int nriters=sDefNrIters(), bool base64=sDefBase64(), const char *cipher=sKeyDefCipher(), bool withsalt=sDefUseSalt()) const |
| bool | isOK (uiRetVal *=nullptr) const |
Static Public Member Functions | |
| static bool | loadOpenSSL () |
| static bool | sDefBase64 () |
| static int | sDefNrIters () |
| static bool | sDefUseSalt () |
| static const char * | sKeyDefCipher () |
Private Member Functions | |
| void | loadPlugin () |
Static Private Member Functions | |
| static bool | loadOpenSSL (const char *libnm, const char *path, bool iscrypto) |
Private Attributes | |
| OpenSSLFnSet * | functions_ = nullptr |
| const SharedLibAccess * | sla_ = nullptr |
Provides access to the core ODOpenSSL API Will load the ODOpenSSL plugin at runtime without introducing dependencies The plugin remains fully managed by the plugin manager PIM()
<>
| OD::OpenSSLAccess::OpenSSLAccess | ( | ) |
| OD::OpenSSLAccess::~OpenSSLAccess | ( | ) |
| bool OD::OpenSSLAccess::decryptFromFile | ( | const char * | fnm, |
| BufferString & | , | ||
| uiRetVal & | , | ||
| const Crypto::PassPhrase & | , | ||
| int | nriters = sDefNrIters(), | ||
| bool | base64 = sDefBase64(), | ||
| const char * | cipher = sKeyDefCipher() ) const |
| bool OD::OpenSSLAccess::encryptToFile | ( | const OD::String & | , |
| const char * | fnm, | ||
| uiRetVal & | , | ||
| const Crypto::PassPhrase & | , | ||
| int | nriters = sDefNrIters(), | ||
| bool | base64 = sDefBase64(), | ||
| const char * | cipher = sKeyDefCipher(), | ||
| bool | withsalt = sDefUseSalt() ) const |
| bool OD::OpenSSLAccess::isOK | ( | uiRetVal * | = nullptr | ) | const |
|
static |
|
staticprivate |
|
private |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025