diff options
author | Marcus Brinkmann <[email protected]> | 2003-04-27 20:53:04 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-04-27 20:53:04 +0000 |
commit | 2971894b27ff61dabfbd26706e3b7d4fc5c76f50 (patch) | |
tree | c36223269b53a43bb0f4da52a1ed2a5332ba70f8 /NEWS | |
parent | Add some items to do. (diff) | |
download | gpgme-2971894b27ff61dabfbd26706e3b7d4fc5c76f50.tar.gz gpgme-2971894b27ff61dabfbd26706e3b7d4fc5c76f50.zip |
doc/
2003-04-27 Marcus Brinkmann <[email protected]>
* gpgme.texi (Creating a Signature): Add info about
GpgmeNewSignature, GpgmeSignResult and gpgme_op_sign_result.
(Crypto Operations): Add GpgmeInvalidUserID.
(Algorithms): New chapter.
gpgme/
2003-04-27 Marcus Brinkmann <[email protected]>
* gpgme.h (GpgmePubKeyAlgo, GpgmeHashAlgo, GpgmeInvalidUserID,
GpgmeNewSignature, GpgmeSignResult): New data types.
(gpgme_op_sign_result, gpgme_pubkey_algo_name,
gpgme_hash_algo_name): New prototypes.
* gpgme.c (gpgme_pubkey_algo_name): New function.
(gpgme_hash_algo_name): Likewise.
* ops.h (_gpgme_parse_inv_userid, _gpgme_op_sign_init_result): New
prototype.
(_gpgme_op_sign_status_handler): Fix prototype.
* op-support.c: Include <errno.h> and <string.h>.
(_gpgme_parse_inv_userid): New function.
* sign.c: Include <errno.h> and "gpgme.h", but not <stdio.h>,
<assert.h> and "util.h".
(SKIP_TOKEN_OR_RETURN): Remove macro.
(struct sign_result): Change to op_data_t type and rework it.
(release_sign_result): Rename to ...
(release_op_data): ... this and rewrite it.
(append_xml_info): Remove function.
(gpgme_op_sign_result): New function.
(parse_sig_created): New function.
(_gpgme_sign_status_handler): Change first argument to void *.
Rewrite the function to use the new result structure and functions.
(_gpgme_op_sign_init_result): New function.
(_gpgme_op_sign_start): Rename to ...
(sign_start): ... this. Call _gpgme_op_sign_init_result.
(gpgme_op_sign_start): Use sign_start instead _gpgme_op_sign_start.
(gpgme_op_sign): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -78,6 +78,10 @@ Noteworthy changes in version 0.4.1 (unreleased) GpgmeImportResult and GpgmeImportStatus objects. Thus, the gpgme_op_import_ext variant is deprecated. + * The new gpgme_op_sign_result function provides detailed information + about the result of a signing operation in GpgmeSignResult, + GpgmeInvalidUserID and GpgmeNewSignature objects. + * Interface changes relative to the 0.4.0 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GpgmeIOCb CHANGED: Return type from void to GpgmeError. @@ -108,6 +112,14 @@ gpgme_op_import_ext DEPRECATED: Use gpgme_op_import_result. gpgme_op_import_result NEW GpgmeImportStatus NEW GpgmeImportResult NEW +GpgmePubKeyAlgo NEW +GpgmeHashAlgo NEW +GpgmeInvalidUserID NEW +GpgmeNewSignature NEW +GpgmeSignResult NEW +gpgme_op_sign_result NEW +gpgme_pubkey_algo_name NEW +gpgme_hash_algo_name NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.4.0 (2002-12-23) |