133 #ifndef OPENTXS_CORE_CRYPTO_OTASYMMETRICKEYOPENSSL_HPP
134 #define OPENTXS_CORE_CRYPTO_OTASYMMETRICKEYOPENSSL_HPP
166 #define OT_KEY_TIMER 30
176 #endif // OT_KEY_TIMER
186 #if defined(OT_CRYPTO_USING_OPENSSL)
204 const OTString& strCert,
bool bEscaped =
true,
205 const OTString* pstrReason =
nullptr,
210 const OTString& strCert,
bool bEscaped =
true,
211 const OTString* pstrReason =
nullptr,
218 const OTPassword* pImportPassword =
nullptr)
const;
221 const OTPassword* pImportPassword =
nullptr)
const;
227 bool bImporting)
const;
244 #elif defined(OT_CRYPTO_USING_GPG)
246 #else // NO CRYPTO ENGINE DEFINED?
252 #endif // OPENTXS_CORE_CRYPTO_OTASYMMETRICKEYOPENSSL_HPP
virtual bool SaveCertToString(OTString &strOutput, const OTString *pstrReason=nullptr, const OTPassword *pImportPassword=nullptr) const
virtual bool SavePrivateKeyToString(OTString &strOutput, const OTString *pstrReason=nullptr, const OTPassword *pImportPassword=nullptr) const
virtual bool LoadPublicKeyFromPGPKey(const OTASCIIArmor &strKey)
virtual void ReleaseKeyLowLevel_Hook() const
virtual bool ReEncryptPrivateKey(const OTPassword &theExportPassword, bool bImporting) const
virtual bool LoadPublicKeyFromCertString(const OTString &strCert, bool bEscaped=true, const OTString *pstrReason=nullptr, const OTPassword *pImportPassword=nullptr)
OTAsymmetricKey_OpenSSL()
virtual bool LoadPrivateKeyFromCertString(const OTString &strCert, bool bEscaped=true, const OTString *pstrReason=nullptr, const OTPassword *pImportPassword=nullptr)
void Release_AsymmetricKey_OpenSSL()
virtual ~OTAsymmetricKey_OpenSSL()
OTAsymmetricKey_OpenSSLPrivdp * dp
EXPORT bool OT_API_Set_PasswordCallback(OTCaller &theCaller)