silc_skr_del_public_key

SYNOPSIS

    SilcResult silc_skr_del_public_key(SilcSKR skr,
                                       SilcPublicKey public_key,
                                       void *key_context);

DESCRIPTION

Removes and destroyes the public key from the repository. The public_key will become invalid after this call returns.

Returns SILC_OK if the key was deleted successfully, and error status if key could not be deleted, or has been deleted already.