133 #ifndef OPENTXS_CORE_CRYPTO_OTCALLER_HPP
134 #define OPENTXS_CORE_CRYPTO_OTCALLER_HPP
167 #define OT_PW_DISPLAY "Enter master passphrase for wallet."
169 #define OTPASSWORD_BLOCKSIZE 128 // (128 bytes max length for a password.)
170 #define OTPASSWORD_MEMSIZE 129 // +1 for null terminator.
175 #define OT_LARGE_BLOCKSIZE 32767 // (32767 bytes max length for a password.)
176 #define OT_LARGE_MEMSIZE 32768 // +1 for null terminator.
179 #define OT_DEFAULT_BLOCKSIZE 128
180 #define OT_DEFAULT_MEMSIZE 129
369 EXPORT
void SetDisplay(
const char* szDisplay, int32_t nLength);
383 #endif // OPENTXS_CORE_CRYPTO_OTCALLER_HPP
EXPORT void delCallback()
EXPORT void ZeroOutPassword()
EXPORT void SetDisplay(const char *szDisplay, int32_t nLength)
EXPORT bool isCallbackSet() const
EXPORT void setCallback(OTCallback *cb)
EXPORT bool GetPassword(OTPassword &theOutput) const
EXPORT const char * GetDisplay() const