Changeset 236

Show
Ignore:
Timestamp:
10/14/05 12:50:08
Author:
ben
Message:

Gasp! Ben adds docco!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openpgpsdk/trunk/Makefile

    r197 r236  
    4141test:: 
    4242        cd examples && make test 
     43 
     44doc:: 
     45        cd doc && make 
  • openpgpsdk/trunk/src/doxygen.c

    r177 r236  
    6464/** 
    6565 * @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. 
    6772 * @ingroup PublicAPI 
    6873 */ 
  • openpgpsdk/trunk/src/signature.c

    r235 r236  
    206206    } 
    207207 
     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 */ 
    208219ops_boolean_t 
    209220ops_check_certification_signature(const ops_public_key_t *key, 
     
    229240    } 
    230241 
     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 */ 
    231253ops_boolean_t 
    232254ops_check_subkey_signature(const ops_public_key_t *key, 
     
    244266    } 
    245267 
     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.  */ 
    246278ops_boolean_t 
    247279ops_check_hash_signature(ops_hash_t *hash,