aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
authorMatthias Kalle Dalheimer <[email protected]>2002-04-18 07:38:15 +0000
committerMatthias Kalle Dalheimer <[email protected]>2002-04-18 07:38:15 +0000
commit9da6baf11f6c041bc0b6f023eebbc18cc3f750a3 (patch)
treee00d9f79b3ed0bb1081fc7271a5dd6fd21e6299c /gpgmeplug/cryptplug.h
parentreport both the error-Id and the error-text to the calling program when signi... (diff)
downloadgpgme-9da6baf11f6c041bc0b6f023eebbc18cc3f750a3.tar.gz
gpgme-9da6baf11f6c041bc0b6f023eebbc18cc3f750a3.zip
Additional parameter for returning the cert length
Diffstat (limited to 'gpgmeplug/cryptplug.h')
-rw-r--r--gpgmeplug/cryptplug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h
index db2d8c07..c3a09792 100644
--- a/gpgmeplug/cryptplug.h
+++ b/gpgmeplug/cryptplug.h
@@ -1600,9 +1600,11 @@ const char* requestCertificateDialog( void );
/*! \ingroup groupCertAct
\brief Generates a prototype certificate with the data provided
- in the four parameter.
+ in the four parameter. The memory returned in \a generatedKey
+ must be freed with free() by the caller.
*/
-bool requestDecentralCertificate( const char* certparms, char** generatedKey );
+bool requestDecentralCertificate( const char* certparms,
+ char** generatedKey, int* keyLength );
/*! \ingroup groupCertAct
\brief Requests a certificate in a PSE from the CA