Changeset View
Changeset View
Standalone View
Standalone View
b/g10/keydb.h
Context not available. | |||||
/*-- skclist.c --*/ | /*-- skclist.c --*/ | ||||
int random_is_faked (void); | int random_is_faked (void); | ||||
void release_sk_list( SK_LIST sk_list ); | void release_sk_list( SK_LIST sk_list ); | ||||
gpg_error_t build_sk_list (strlist_t locusr, SK_LIST *ret_sk_list, | gpg_error_t build_sk_list (ctrl_t ctrl, strlist_t locusr, | ||||
unsigned use); | SK_LIST *ret_sk_list, unsigned use); | ||||
/*-- passphrase.h --*/ | /*-- passphrase.h --*/ | ||||
unsigned char encode_s2k_iterations (int iterations); | unsigned char encode_s2k_iterations (int iterations); | ||||
Context not available. | |||||
This function returns the first match. Additional results can be | This function returns the first match. Additional results can be | ||||
returned using getkey_next. */ | returned using getkey_next. */ | ||||
gpg_error_t get_seckey_default (PKT_public_key *pk); | gpg_error_t get_seckey_default (ctrl_t ctrl, PKT_public_key *pk); | ||||
/* Search for keys matching some criteria. | /* Search for keys matching some criteria. | ||||
Context not available. | |||||
FIXME: We also have the get_pubkey_byname function which has a | FIXME: We also have the get_pubkey_byname function which has a | ||||
different semantic. Should be merged with this one. */ | different semantic. Should be merged with this one. */ | ||||
gpg_error_t getkey_byname (getkey_ctx_t *retctx, PKT_public_key *pk, | gpg_error_t getkey_byname (ctrl_t ctrl, | ||||
getkey_ctx_t *retctx, PKT_public_key *pk, | |||||
const char *name, int want_secret, | const char *name, int want_secret, | ||||
kbnode_t *ret_keyblock); | kbnode_t *ret_keyblock); | ||||
Context not available. | |||||
if (gpg_err_code (err) != GPG_ERR_EOF) | if (gpg_err_code (err) != GPG_ERR_EOF) | ||||
; // An error occured. | ; // An error occured. | ||||
*/ | */ | ||||
gpg_error_t enum_secret_keys (void **context, PKT_public_key *pk); | gpg_error_t enum_secret_keys (ctrl_t ctrl, void **context, PKT_public_key *pk); | ||||
/* Set the mainkey_id fields for all keys in KEYBLOCK. This is | /* Set the mainkey_id fields for all keys in KEYBLOCK. This is | ||||
usually done by merge_selfsigs but at some places we only need the | usually done by merge_selfsigs but at some places we only need the | ||||
Context not available. |