# File lib/gpgme.rb, line 308 def [](what, idx = 0) GPGME::gpgme_key_get_string_attr(self, what, idx) end