Module: RubyEasyRSA::ClassMethods
- Included in:
- RubyEasyRSA
- Defined in:
- lib/ruby_easy_rsa.rb
Instance Method Summary collapse
- #build_ca(opts = {}) ⇒ Object
- #build_client_full(opts = {}) ⇒ Object
- #build_client_server_full(opts = {}) ⇒ Object
- #build_server_full(opts = {}) ⇒ Object
- #export_p12(opts = {}) ⇒ Object
- #export_p7(opts = {}) ⇒ Object
- #gen_crl(opts = {}) ⇒ Object
- #gen_dh(opts = {}) ⇒ Object
- #gen_req(opts = {}) ⇒ Object
- #import_req(opts = {}) ⇒ Object
- #init_pki(opts = {}) ⇒ Object
- #renew(opts = {}) ⇒ Object
- #revoke(opts = {}) ⇒ Object
- #set_ec_pass(opts = {}) ⇒ Object
- #set_rsa_pass(opts = {}) ⇒ Object
- #show_ca(opts = {}) ⇒ Object
- #show_cert(opts = {}) ⇒ Object
- #show_req(opts = {}) ⇒ Object
- #sign_req(opts = {}) ⇒ Object
- #update_db(opts = {}) ⇒ Object
- #upgrade(opts = {}) ⇒ Object
Instance Method Details
#build_ca(opts = {}) ⇒ Object
28 29 30 |
# File 'lib/ruby_easy_rsa.rb', line 28 def build_ca(opts = {}) Commands::BuildCA.new.execute(opts) end |
#build_client_full(opts = {}) ⇒ Object
44 45 46 |
# File 'lib/ruby_easy_rsa.rb', line 44 def build_client_full(opts = {}) Commands::BuildClientFull.new.execute(opts) end |
#build_client_server_full(opts = {}) ⇒ Object
52 53 54 |
# File 'lib/ruby_easy_rsa.rb', line 52 def build_client_server_full(opts = {}) Commands::BuildClientServerFull.new.execute(opts) end |
#build_server_full(opts = {}) ⇒ Object
48 49 50 |
# File 'lib/ruby_easy_rsa.rb', line 48 def build_server_full(opts = {}) Commands::BuildServerFull.new.execute(opts) end |
#export_p12(opts = {}) ⇒ Object
92 93 94 |
# File 'lib/ruby_easy_rsa.rb', line 92 def export_p12(opts = {}) Commands::ExportP12.new.execute(opts) end |
#export_p7(opts = {}) ⇒ Object
88 89 90 |
# File 'lib/ruby_easy_rsa.rb', line 88 def export_p7(opts = {}) Commands::ExportP7.new.execute(opts) end |
#gen_crl(opts = {}) ⇒ Object
64 65 66 |
# File 'lib/ruby_easy_rsa.rb', line 64 def gen_crl(opts = {}) Commands::GenCRL.new.execute(opts) end |
#gen_dh(opts = {}) ⇒ Object
32 33 34 |
# File 'lib/ruby_easy_rsa.rb', line 32 def gen_dh(opts = {}) Commands::GenDH.new.execute(opts) end |
#gen_req(opts = {}) ⇒ Object
36 37 38 |
# File 'lib/ruby_easy_rsa.rb', line 36 def gen_req(opts = {}) Commands::GenReq.new.execute(opts) end |
#import_req(opts = {}) ⇒ Object
84 85 86 |
# File 'lib/ruby_easy_rsa.rb', line 84 def import_req(opts = {}) Commands::ImportReq.new.execute(opts) end |
#init_pki(opts = {}) ⇒ Object
24 25 26 |
# File 'lib/ruby_easy_rsa.rb', line 24 def init_pki(opts = {}) Commands::InitPKI.new.execute(opts) end |
#renew(opts = {}) ⇒ Object
60 61 62 |
# File 'lib/ruby_easy_rsa.rb', line 60 def renew(opts = {}) Commands::Renew.new.execute(opts) end |
#revoke(opts = {}) ⇒ Object
56 57 58 |
# File 'lib/ruby_easy_rsa.rb', line 56 def revoke(opts = {}) Commands::Revoke.new.execute(opts) end |
#set_ec_pass(opts = {}) ⇒ Object
100 101 102 |
# File 'lib/ruby_easy_rsa.rb', line 100 def set_ec_pass(opts = {}) Commands::SetECPass.new.execute(opts) end |
#set_rsa_pass(opts = {}) ⇒ Object
96 97 98 |
# File 'lib/ruby_easy_rsa.rb', line 96 def set_rsa_pass(opts = {}) Commands::SetRSAPass.new.execute(opts) end |
#show_ca(opts = {}) ⇒ Object
80 81 82 |
# File 'lib/ruby_easy_rsa.rb', line 80 def show_ca(opts = {}) Commands::ShowCA.new.execute(opts) end |
#show_cert(opts = {}) ⇒ Object
76 77 78 |
# File 'lib/ruby_easy_rsa.rb', line 76 def show_cert(opts = {}) Commands::ShowCert.new.execute(opts) end |
#show_req(opts = {}) ⇒ Object
72 73 74 |
# File 'lib/ruby_easy_rsa.rb', line 72 def show_req(opts = {}) Commands::ShowReq.new.execute(opts) end |
#sign_req(opts = {}) ⇒ Object
40 41 42 |
# File 'lib/ruby_easy_rsa.rb', line 40 def sign_req(opts = {}) Commands::SignReq.new.execute(opts) end |