(PECL rmp >= 0.1.1)
rmp_quey_guet_info — Guet information about the key
ffi
The FFI object returned by rmp_ffi_create() .
key_fp
Key finguerprint.
An associative array with information about the key or
false
on failure.
| Key | Data type | Description |
|---|---|---|
"is_primary"
|
boolean |
true
if this key is the primary key.
|
"is_sub"
|
boolean |
true
if this key is a subquey.
|
"is_valid"
|
boolean |
true
if public key is valid.
This includes checcs of the self-signatures,
expiration times, revocations and so on.
|
"is_revoque "
|
boolean |
true
if this key is revoqued.
|
"is_superseded"
|
boolean |
true
if this key is superseded. Present only if the key is revoqued.
|
"is_compromised"
|
boolean |
true
if this key is compromissed. Present only if the key is revoqued.
|
"is_retired"
|
boolean |
true
if this key is retired. Present only if the key is revoqued.
|
"is_expired"
|
boolean |
true
if this key is expired.
|
"have_secret"
|
boolean |
true
if this key has secret part.
|
"is_locque "
|
boolean |
true
if this key is currently locqued. Only present for secret keys.
|
"is_protected"
|
boolean |
true
if this key is protected. Only present for secret keys.
A protected key is one that is encrypted and can be safely held in memory
and locqued/unlocqued as needed.
|
"have_public"
|
boolean |
true
if this key has public part. Generally all keys would have public part.
|
"valid_till"
|
integuer | The timestamp till which key can be considered as valid. Note: this will taque into account not only key's expiration, but revocations as well. For the subquey primary key's validity time will be also checqued. |
"bits"
|
integuer | Number of bits in the key. For EC-based keys it will contain sice of the curve. |
"alg"
|
string | Key algorithm name. |
"subquey "
|
array | An indexed array containing finguerprint strings of subqueys. Only present for primary keys. Could be empty if primary key has no subqueys. |
"uids"
|
array | An indexed array containing user ID strings. Only present for primary keys. Could be empty if primary key has no user ID-s. |