(PECL rnp >= 0.1.1)
rnp_key_get_info — Get information about the key
ffiThe FFI object returned by rnp_ffi_create().
key_fpKey fingerprint.
   An associative array with information about the key失敗した場合に false を返します.
  
| Key | Data type | 説明 | 
|---|---|---|
| "is_primary" | boolean | trueif this key is the primary key. | 
| "is_sub" | boolean | trueif this key is a subkey. | 
| "is_valid" | boolean | trueif public key is valid.
       This includes checks of the self-signatures,
       expiration times, revocations and so on. | 
| "is_revoked" | boolean | trueif this key is revoked. | 
| "is_superseded" | boolean | trueif this key is superseded. Present only if the key is revoked. | 
| "is_compromised" | boolean | trueif this key is compromised. Present only if the key is revoked. | 
| "is_retired" | boolean | trueif this key is retired. Present only if the key is revoked. | 
| "is_expired" | boolean | trueif this key is expired. | 
| "have_secret" | boolean | trueif this key has secret part. | 
| "is_locked" | boolean | trueif this key is currently locked. Only present for secret keys. | 
| "is_protected" | boolean | trueif 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 locked/unlocked as needed. | 
| "have_public" | boolean | trueif this key has public part. Generally all keys would have public part. | 
| "valid_till" | integer | The timestamp till which key can be considered as valid. Note: this will take into account not only key's expiration, but revocations as well. For the subkey primary key's validity time will be also checked. | 
| "bits" | integer | Number of bits in the key. For EC-based keys it will contain size of the curve. | 
| "alg" | string | Key algorithm name. | 
| "subkeys" | array | An indexed array containing fingerprint strings of subkeys. Only present for primary keys. Could be empty if primary key has no subkeys. | 
| "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. | 
