module RubyGPG2::ClassMethods
Public Instance Methods
decrypt(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 28 def decrypt(opts = {}) Commands::Decrypt.new.execute(opts) end
encrypt(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 32 def encrypt(opts = {}) Commands::Encrypt.new.execute(opts) end
export(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 36 def export(opts = {}) Commands::Export.new.execute(opts) end
export_secret_keys(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 40 def export_secret_keys(opts = {}) Commands::ExportSecretKeys.new.execute(opts) end
generate_key(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 44 def generate_key(opts = {}) Commands::GenerateKey.new.execute(opts) end
import(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 48 def import(opts = {}) Commands::Import.new.execute(opts) end
list_public_keys(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 52 def list_public_keys(opts = {}) Commands::ListPublicKeys.new.execute(opts) end
list_secret_keys(opts = {})
click to toggle source
# File lib/ruby_gpg2.rb, line 56 def list_secret_keys(opts = {}) Commands::ListSecretKeys.new.execute(opts) end