Part of lp.services.gpg.interfaces View In Hierarchy
| Attribute | fingerprint | Key Fingerprint |
| Attribute | key | Underlying GpgmeKey object |
| Attribute | algorithm | Key Algorithm |
| Attribute | revoked | Key Revoked |
| Attribute | expired | Key Expired |
| Attribute | secret | Whether the key is secret of not. |
| Attribute | keysize | Key Size |
| Attribute | keyid | Pseudo Key ID, composed by last fingerprint 8 digits |
| Attribute | uids | List of user IDs associated with this key |
| Attribute | emails | List containing only well formed and non-revoked emails |
| Attribute | displayname | Key displayname: <size><type>/<keyid> |
| Attribute | owner_trust | The owner trust |
| Attribute | can_encrypt | Whether the key can be used for encrypting |
| Attribute | can_sign | Whether the key can be used for signing |
| Attribute | can_certify | Whether the key can be used for certification |
| Attribute | can_authenticate | Whether the key can be used for authentication |
| Method | export | Export the context key in ASCII-armored mode. |
| Method | matches | Return True if and only if this fingerprint matches this key. |
Both public and secret keys are supported, although secret keys are
exported by calling gpg process while public ones use the native
gpgme API.
| Returns | a string containing the exported key. | |