GPG.Key – gpgme Reference Manual
Key
Object Hierarchy:
GPG.Key
GPG.Key
GPG.Key
Description:
[
CCode
( cname =
"struct _gpgme_key"
, free_function =
"gpgme_key_release"
, ref_function =
"gpgme_key_ref"
, ref_function_void =
true
, unref_function =
"gpgme_key_unref"
) ]
public
class
Key
A Key from the Keyring
Namespace:
GPG
Package:
gpgme
Content:
Fields:
public
bool
can_authenticate
public
bool
can_certify
public
bool
can_encrypt
public
bool
can_sign
public
string
chain_id
If protocol is CMS, this string contains the chain ID.
public
bool
disabled
public
bool
expired
public
bool
invalid
public
bool
is_qualified
public
string
issuer_name
If protocol is CMS, this string contains the issuer's name
public
string
issuer_serial
If protocol is CMS, this string contains the issuer's serial
public
KeylistMode
keylist_mode
public
Validity
owner_trust
If protocol is OpenPGP, this field contains the owner trust level
public
Protocol
protocol
public
bool
revoked
public
bool
secret
public
SubKey
[]
subkeys
The key's subkeys
public
UserID
[]
uids
The key's user ids
2022 vala-language.org