7 #include <cppfs/cppfs_api.h> 15 class LoginCredentials;
50 CPPFS_API std::string
sha1(
const std::string & str);
62 CPPFS_API std::string
base64(
const std::string & str);
74 CPPFS_API std::string
fromBase64(
const std::string & base64);
86 CPPFS_API std::string
hashToString(
const unsigned char * hash);
CPPFS_API std::string sha1(const std::string &str)
Compute sha1 hash for string.
CPPFS_API std::string base64(const std::string &str)
Get base64 encoding for string.
Login credentials for accessing file systems (e.g., username, password, key files, etc.)
Definition: LoginCredentials.h:25
CPPFS_API std::string fromBase64(const std::string &base64)
Get decoded string from base64 encoding.
Handle for a file or directory.
Definition: FileHandle.h:43
CPPFS_API std::string hashToString(const unsigned char *hash)
Convert hash buffer into string.
Definition: AbstractFileHandleBackend.h:14
CPPFS_API FileHandle open(const std::string &path, const LoginCredentials *credentials=nullptr)
Open a file or directory.