Next: , Previous: , Up: Key Management   [Contents][Index]

7.5.4 Manipulating Keys

Function: void gpgme_key_ref (gpgme_key_t key)

The function gpgme_key_ref acquires an additional reference for the key key.

Function: void gpgme_key_unref (gpgme_key_t key)

The function gpgme_key_unref releases a reference for the key key. If this was the last reference, the key will be destroyed and all resources associated to it will be released.