133 #ifndef OPENTXS_CORE_CRYPTO_OTENVELOPE_HPP
134 #define OPENTXS_CORE_CRYPTO_OTENVELOPE_HPP
136 #include "../OTData.hpp"
146 class OTAsymmetricKey;
148 class OTPasswordData;
151 class OTSymmetricKey;
209 bool bLineBreaks =
true)
const;
211 bool bEscaped =
false)
const;
225 bool bLineBreaks =
true);
227 bool bEscaped =
false);
232 #endif // OPENTXS_CORE_CRYPTO_OTENVELOPE_HPP
EXPORT bool Decrypt(OTString &theOutput, const OTSymmetricKey &theKey, const OTPassword &thePassword)
EXPORT bool GetAsBookendedString(OTString &strArmorWithBookends, bool bEscaped=false) const
std::set< OTPseudonym * > setOfNyms
EXPORT bool SetAsciiArmoredData(const OTASCIIArmor &theArmoredText, bool bLineBreaks=true)
EXPORT bool Open(const OTPseudonym &theRecipient, OTString &theOutput, const OTPasswordData *pPWData=nullptr)
EXPORT bool Seal(const OTPseudonym &theRecipient, const OTString &theInput)
EXPORT bool Encrypt(const OTString &theInput, OTSymmetricKey &theKey, const OTPassword &thePassword)
EXPORT bool GetAsciiArmoredData(OTASCIIArmor &theArmoredText, bool bLineBreaks=true) const
virtual EXPORT ~OTEnvelope()
std::multimap< std::string, OTAsymmetricKey * > mapOfAsymmetricKeys
EXPORT bool SetFromBookendedString(const OTString &strArmorWithBookends, bool bEscaped=false)