GnuPG::SubKey(3pm)

GnuPG::SubKey3pm

Gnupg sub key objects

Usage

  # assumes a GnuPG::PublicKey object in $key
  my @subkeys = $key->subkeys();
  # now GnuPG::SubKey objects are in @subkeys

Overview

GnuPG::SubKey objects are generally instantiated through various methods of GnuPG::Interface. They embody various aspects of a GnuPG sub key.

This package inherits data members and object methods from GnuPG::Key, which are not described here, but rather in GnuPG::Key.

Object data members

validity

A scalar holding the value GnuPG reports for the trust of authenticity (a.k.a.) validity of a key. See GnuPG's DETAILS file for details.

local_id

GnuPG's local id for the key.

owner_trust

The scalar value GnuPG reports as the ownertrust for this key. See GnuPG's DETAILS file for details.

signature

* DEPRECATED*

A GnuPG::Signature object holding the representation of the signature on this key. Please use signatures (see GnuPG::Key) instead of signature. Using signature, you will get an arbitrary signature from the set of available signatures.

Releases

13 releases since Debian 3.0 (Woody); the text changed 12 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13
  13. Arch

From perl-gnupg-interface 1.07-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.