diff options
| author | Steffen Hansen <[email protected]> | 2002-07-31 12:37:34 +0000 | 
|---|---|---|
| committer | Steffen Hansen <[email protected]> | 2002-07-31 12:37:34 +0000 | 
| commit | 6676c74b6afd6aece8988c19c7b67cda9031efa2 (patch) | |
| tree | a420a0cb5ef353f5012781f6dce534fc71287952 /gpgmeplug/cryptplug.h | |
| parent | 2002-07-29 Marcus Brinkmann <[email protected]> (diff) | |
| download | gpgme-6676c74b6afd6aece8988c19c7b67cda9031efa2.tar.gz gpgme-6676c74b6afd6aece8988c19c7b67cda9031efa2.zip | |
new cryptplug function importCertificateFromMem()
Diffstat (limited to 'gpgmeplug/cryptplug.h')
| -rw-r--r-- | gpgmeplug/cryptplug.h | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index 26a7e90e..3c522789 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -1849,10 +1849,20 @@ endListCertificates( struct CertIterator* );    Import a certificate that was a result from a search-operation using the startListCertificates(), nextCertificate() funtions.    The fingerprint must be passed to identify the key. + +  Additional info about the import operation is available in the additional_info parameter. The string must be free'd by the user with free().   */  int -importCertificate( const char* fingerprint ); +importCertificateWithFPR( const char* fingerprint, char** additional_info ); + +/*! +  Import a certificate from memory. + +  Additional info about the import operation is available in the additional_info parameter. The string must be free'd by the user with free(). +*/ +int +importCertificateFromMem( const char* data, size_t length, char** additional_info );  #ifdef __cplusplus  } | 
