Module: RubyGPG2::ClassMethods
- Included in:
- RubyGPG2
- Defined in:
- lib/ruby_gpg2.rb
Instance Method Summary collapse
- #decrypt(opts = {}) ⇒ Object
- #encrypt(opts = {}) ⇒ Object
- #export(opts = {}) ⇒ Object
- #export_secret_keys(opts = {}) ⇒ Object
- #generate_key(opts = {}) ⇒ Object
- #import(opts = {}) ⇒ Object
- #list_public_keys(opts = {}) ⇒ Object
- #list_secret_keys(opts = {}) ⇒ Object
Instance Method Details
#decrypt(opts = {}) ⇒ Object
30 31 32 |
# File 'lib/ruby_gpg2.rb', line 30 def decrypt(opts = {}) Commands::Decrypt.new.execute(opts) end |
#encrypt(opts = {}) ⇒ Object
34 35 36 |
# File 'lib/ruby_gpg2.rb', line 34 def encrypt(opts = {}) Commands::Encrypt.new.execute(opts) end |
#export(opts = {}) ⇒ Object
38 39 40 |
# File 'lib/ruby_gpg2.rb', line 38 def export(opts = {}) Commands::Export.new.execute(opts) end |
#export_secret_keys(opts = {}) ⇒ Object
42 43 44 |
# File 'lib/ruby_gpg2.rb', line 42 def export_secret_keys(opts = {}) Commands::ExportSecretKeys.new.execute(opts) end |
#generate_key(opts = {}) ⇒ Object
46 47 48 |
# File 'lib/ruby_gpg2.rb', line 46 def generate_key(opts = {}) Commands::GenerateKey.new.execute(opts) end |
#import(opts = {}) ⇒ Object
50 51 52 |
# File 'lib/ruby_gpg2.rb', line 50 def import(opts = {}) Commands::Import.new.execute(opts) end |
#list_public_keys(opts = {}) ⇒ Object
54 55 56 |
# File 'lib/ruby_gpg2.rb', line 54 def list_public_keys(opts = {}) Commands::ListPublicKeys.new.execute(opts) end |
#list_secret_keys(opts = {}) ⇒ Object
58 59 60 |
# File 'lib/ruby_gpg2.rb', line 58 def list_secret_keys(opts = {}) Commands::ListSecretKeys.new.execute(opts) end |