Changeset 236
- Timestamp:
- 10/14/05 12:50:08
- Files:
-
- openpgpsdk/trunk/Makefile (modified) (1 diff)
- openpgpsdk/trunk/src/doxygen.c (modified) (1 diff)
- openpgpsdk/trunk/src/signature.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/Makefile
r197 r236 41 41 test:: 42 42 cd examples && make test 43 44 doc:: 45 cd doc && make openpgpsdk/trunk/src/doxygen.c
r177 r236 64 64 /** 65 65 * @defgroup Utils Utils 66 * These functions are of general utility 66 * These functions are of general utility. 67 * @ingroup PublicAPI 68 */ 69 /** 70 * @defgroup Verify Verify 71 * These functions are for verifying signatures. 67 72 * @ingroup PublicAPI 68 73 */ openpgpsdk/trunk/src/signature.c
r235 r236 206 206 } 207 207 208 /** 209 * \ingroup Verify 210 * 211 * Verify a certification signature. 212 * 213 * \param key The public key that was signed. 214 * \param id The user ID that was signed. 215 * \param sig The signature. 216 * \param signer The public key of the signer. 217 * \param raw_packet The raw signature packet. 218 */ 208 219 ops_boolean_t 209 220 ops_check_certification_signature(const ops_public_key_t *key, … … 229 240 } 230 241 242 /** 243 * \ingroup Verify 244 * 245 * Verify a subkey signature. 246 * 247 * \param key The public key whose subkey was signed. 248 * \param subkey The subkey of the public key that was signed. 249 * \param sig The signature. 250 * \param signer The public key of the signer. 251 * \param raw_packet The raw signature packet. 252 */ 231 253 ops_boolean_t 232 254 ops_check_subkey_signature(const ops_public_key_t *key, … … 244 266 } 245 267 268 /** 269 * \ingroup Verify 270 * 271 * Verify a signature on a hash (the hash will have already been fed 272 * the material that was being signed, for example signed cleartext). 273 * 274 * \param hash A hash structure of appropriate type that has been fed 275 * the material to be signed. This MUST NOT have been finalised. 276 * \param sig The signature to be verified. 277 * \param signer The public key of the signer. */ 246 278 ops_boolean_t 247 279 ops_check_hash_signature(ops_hash_t *hash,
