37 #ifndef VIRGIL_CRYPTO_BASE64_H
38 #define VIRGIL_CRYPTO_BASE64_H
42 #include <virgil/crypto/VirgilByteArray.h>
44 namespace virgil {
namespace crypto {
namespace foundation {
54 static std::string
encode(
const virgil::crypto::VirgilByteArray& data);
59 static virgil::crypto::VirgilByteArray
decode(
const std::string& base64str);
static virgil::crypto::VirgilByteArray decode(const std::string &base64str)
Transform given base64 string to the bytes.
static std::string encode(const virgil::crypto::VirgilByteArray &data)
Transform given bytes to the base64 string.
Definition: VirgilAsn1Compatible.h:46
Provides base64 encoding / decoding.
Definition: VirgilBase64.h:49