From 1e74c03acd39c000103b843d5acd3c0313da443a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 6 Aug 2009 19:00:25 +0000 Subject: stick DLL_EXPORT in front of every public method of every public class git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649 --- libqpdf/QPDF_encryption.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libqpdf/QPDF_encryption.cc') diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index bd7ef7a6..02517aed 100644 --- a/libqpdf/QPDF_encryption.cc +++ b/libqpdf/QPDF_encryption.cc @@ -32,6 +32,7 @@ pad_or_truncate_password(std::string const& password, char k1[key_bytes]) memcpy(k1 + password_bytes, padding_string, pad_bytes); } +DLL_EXPORT void QPDF::trim_user_password(std::string& user_password) { @@ -97,6 +98,7 @@ iterate_rc4(unsigned char* data, int data_len, delete [] key; } +DLL_EXPORT std::string QPDF::compute_data_key(std::string const& encryption_key, int objid, int generation) @@ -120,6 +122,7 @@ QPDF::compute_data_key(std::string const& encryption_key, std::min(result.length(), (size_t) 16)); } +DLL_EXPORT std::string QPDF::compute_encryption_key( std::string const& password, EncryptionData const& data) @@ -424,6 +427,7 @@ QPDF::decryptStream(Pipeline*& pipeline, int objid, int generation, heap.push_back(pipeline); } +DLL_EXPORT void QPDF::compute_encryption_O_U( char const* user_password, char const* owner_password, @@ -436,6 +440,7 @@ QPDF::compute_encryption_O_U( U = compute_U_value(user_password, data); } +DLL_EXPORT std::string const& QPDF::getUserPassword() const { -- cgit v1.2.3-54-g00ecf