701 |
} |
} |
702 |
|
|
703 |
|
|
704 |
|
/* Remove unusable parts from a key. */ |
705 |
|
gpgme_error_t |
706 |
|
GpgKeyEdit::cleanKey (void) |
707 |
|
{ |
708 |
|
if (!this->key) |
709 |
|
return gpg_error (GPG_ERR_INV_OBJ); |
710 |
|
type = GPG_EDITKEY_CLEAN; |
711 |
|
return gpg_editkey (this->ctx, this->key, this); |
712 |
|
|
713 |
|
} |
714 |
|
|
715 |
|
|
716 |
/* Update the user-ID preferences of the user-ID with the |
/* Update the user-ID preferences of the user-ID with the |
717 |
index @uid_index to the prefs given in @new_prefs. |
index @uid_index to the prefs given in @new_prefs. |
718 |
Return value: 0 on success. */ |
Return value: 0 on success. */ |