diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-05-12 00:26:06 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-05-18 09:18:47 +0200 |
commit | cae5f2a543b31552ccd9765aca5eb514fa694e07 (patch) | |
tree | c9d76324302dff75f9f89605ee5e62d431d89707 /xmlsecurity/source/xmlsec/xmlstreamio.cxx | |
parent | 4c05834a363535804d2cf5892704e19a5bb4f966 (diff) |
gpg4libre: initial GPG signature generation
* takes XML-Sec signature template
* calculates digest for all added reference streams
* produces signature value over canonicalized signature template
* writes same as detached signature into template, streams that out
Change-Id: I303e080dc25c440175fe1ae897f03cf356d5d0f2
Reviewed-on: https://gerrit.libreoffice.org/36106
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'xmlsecurity/source/xmlsec/xmlstreamio.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/xmlstreamio.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/xmlstreamio.cxx b/xmlsecurity/source/xmlsec/xmlstreamio.cxx index cfebd125856d..710f9795aca4 100644 --- a/xmlsecurity/source/xmlsec/xmlstreamio.cxx +++ b/xmlsecurity/source/xmlsec/xmlstreamio.cxx @@ -21,7 +21,7 @@ /* * Implementation of the I/O interfaces based on stream and URI binding */ -#include "xmlstreamio.hxx" +#include "xmlsec/xmlstreamio.hxx" #include <rtl/ustring.hxx> #include <rtl/uri.hxx> @@ -180,7 +180,7 @@ int xmlEnableStreamInputCallbacks() return 0 ; } -int xmlRegisterStreamInputCallbacks( +SAL_DLLPUBLIC_EXPORT int xmlRegisterStreamInputCallbacks( css::uno::Reference< css::xml::crypto::XUriBinding >& aUriBinding ) { if( !( enableXmlStreamIO & XMLSTREAMIO_INITIALIZED ) ) { @@ -197,7 +197,7 @@ int xmlRegisterStreamInputCallbacks( return 0 ; } -int xmlUnregisterStreamInputCallbacks() +SAL_DLLPUBLIC_EXPORT int xmlUnregisterStreamInputCallbacks() { if( ( enableXmlStreamIO & XMLSTREAMIO_REGISTERED ) ) { //Clear the uri-stream binding |