gnutls_openpgp_privkey_get_subkey_id(3)

gnutls_openpgp_privkey_get_subkey_id3

Api function

Usage

#include <gnutls/openpgp.h>

int gnutls_openpgp_privkey_get_subkey_id(gnutls_openpgp_privkey_t key, unsigned int idx, gnutls_openpgp_keyid_t keyid);

Arguments

gnutls_openpgp_privkey_t key

the structure that contains the OpenPGP secret key.

unsigned int idx

the subkey index

gnutls_openpgp_keyid_t keyid

the buffer to save the keyid.

Overview

Get the key-id for the subkey.

Returns

the 64-bit keyID of the OpenPGP key.

Since

2.4.0

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 9

Reporting bugs

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

From gnutls-doc 3.5.8-5+deb9u5 in Debian 9 (Stretch). Parsed by carta from the page's man source.