Module | GPGME::KeyCommon |
In: |
lib/gpgme/key_common.rb
|
Array of capabilities for this key. It can contain any combination of +:encrypt+, +:sign+, +:certify+ or +:authenticate+
Returns nil if the trust is valid. Returns one of +:revoked+, +:expired+, +:disabled+, +:invalid+
Checks if the key is capable of all of these actions. If empty array is passed then will return true.
Returns false if the keys trust has been invalidated.