# File lib/gpgme/key_common.rb, line 17 def capability caps = [] caps << :encrypt if @can_encrypt caps << :sign if @can_sign caps << :certify if @can_certify caps << :authenticate if @can_authenticate caps end