summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKit.h
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-10-18 10:35:25 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-10-29 19:35:04 +0100
commitc2ceb1f54e85ebc8b38df3f2e4d1113a2fe1cc64 (patch)
tree90dede99ed9555145649e59921e1f5531134bc6e /include/LibreOfficeKit/LibreOfficeKit.h
parentb8e260a9372de9ee1186e1f78ade29717e9b8026 (diff)
lok: create certificate and private key with insertCertificate
Change-Id: Ie114068d9aec5259f9f7ed395c5dfeecf8bb787d Reviewed-on: https://gerrit.libreoffice.org/61915 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index 24aa496214a8..238d93f162db 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -326,7 +326,9 @@ struct _LibreOfficeKitDocumentClass
/// @see lok::Document::insertCertificate().
bool (*insertCertificate) (LibreOfficeKitDocument* pThis,
const unsigned char* pCertificateBinary,
- const int pCertificateBinarySize);
+ const int nCertificateBinarySize,
+ const unsigned char* pPrivateKeyBinary,
+ const int nPrivateKeyBinarySize);
/// @see lok::Document::getSignatureState().
int (*getSignatureState) (LibreOfficeKitDocument* pThis);