summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-08-01 15:04:56 -0400
committerAshod Nakashian <ashnakash@gmail.com>2017-08-04 02:11:24 +0200
commit0a64fa41045eea8ea179bbf0eee306ffb5851500 (patch)
tree4ef71c9e6739da9e60bbde6e7eadfbb195d2894c /include/svl
parent12e13f1f177d6f203edfbef4b31e1e7d3d3d7e78 (diff)
svl: move DecodeHexString from vcl
Change-Id: I86da993050bde20f9ff0413ad5424673647a0e5c Reviewed-on: https://gerrit.libreoffice.org/40720 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/cryptosign.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svl/cryptosign.hxx b/include/svl/cryptosign.hxx
index 5d347c96d541..f8c1f36bdd8a 100644
--- a/include/svl/cryptosign.hxx
+++ b/include/svl/cryptosign.hxx
@@ -34,6 +34,9 @@ namespace svl {
namespace crypto {
+/// Converts a hex-encoded string into a byte array.
+SVL_DLLPUBLIC std::vector<unsigned char> DecodeHexString(const OString& rHex);
+
/// Helper to cryptographically sign and verify
/// arbitrary data blocks.
class SVL_DLLPUBLIC Signing