Module: RubyEasyRSA::ClassMethods

Included in:
RubyEasyRSA
Defined in:
lib/ruby_easy_rsa.rb

Instance Method Summary collapse

Instance Method Details

#build_ca(opts = {}) ⇒ Object



26
27
28
# File 'lib/ruby_easy_rsa.rb', line 26

def build_ca(opts = {})
  Commands::BuildCA.new.execute(opts)
end

#build_client_full(opts = {}) ⇒ Object



42
43
44
# File 'lib/ruby_easy_rsa.rb', line 42

def build_client_full(opts = {})
  Commands::BuildClientFull.new.execute(opts)
end

#build_client_server_full(opts = {}) ⇒ Object



50
51
52
# File 'lib/ruby_easy_rsa.rb', line 50

def build_client_server_full(opts = {})
  Commands::BuildClientServerFull.new.execute(opts)
end

#build_server_full(opts = {}) ⇒ Object



46
47
48
# File 'lib/ruby_easy_rsa.rb', line 46

def build_server_full(opts = {})
  Commands::BuildServerFull.new.execute(opts)
end

#export_p12(opts = {}) ⇒ Object



90
91
92
# File 'lib/ruby_easy_rsa.rb', line 90

def export_p12(opts = {})
  Commands::ExportP12.new.execute(opts)
end

#export_p7(opts = {}) ⇒ Object



86
87
88
# File 'lib/ruby_easy_rsa.rb', line 86

def export_p7(opts = {})
  Commands::ExportP7.new.execute(opts)
end

#gen_crl(opts = {}) ⇒ Object



62
63
64
# File 'lib/ruby_easy_rsa.rb', line 62

def gen_crl(opts = {})
  Commands::GenCRL.new.execute(opts)
end

#gen_dh(opts = {}) ⇒ Object



30
31
32
# File 'lib/ruby_easy_rsa.rb', line 30

def gen_dh(opts = {})
  Commands::GenDH.new.execute(opts)
end

#gen_req(opts = {}) ⇒ Object



34
35
36
# File 'lib/ruby_easy_rsa.rb', line 34

def gen_req(opts = {})
  Commands::GenReq.new.execute(opts)
end

#import_req(opts = {}) ⇒ Object



82
83
84
# File 'lib/ruby_easy_rsa.rb', line 82

def import_req(opts = {})
  Commands::ImportReq.new.execute(opts)
end

#init_pki(opts = {}) ⇒ Object



22
23
24
# File 'lib/ruby_easy_rsa.rb', line 22

def init_pki(opts = {})
  Commands::InitPKI.new.execute(opts)
end

#renew(opts = {}) ⇒ Object



58
59
60
# File 'lib/ruby_easy_rsa.rb', line 58

def renew(opts = {})
  Commands::Renew.new.execute(opts)
end

#revoke(opts = {}) ⇒ Object



54
55
56
# File 'lib/ruby_easy_rsa.rb', line 54

def revoke(opts = {})
  Commands::Revoke.new.execute(opts)
end

#set_ec_pass(opts = {}) ⇒ Object



98
99
100
# File 'lib/ruby_easy_rsa.rb', line 98

def set_ec_pass(opts = {})
  Commands::SetECPass.new.execute(opts)
end

#set_rsa_pass(opts = {}) ⇒ Object



94
95
96
# File 'lib/ruby_easy_rsa.rb', line 94

def set_rsa_pass(opts = {})
  Commands::SetRSAPass.new.execute(opts)
end

#show_ca(opts = {}) ⇒ Object



78
79
80
# File 'lib/ruby_easy_rsa.rb', line 78

def show_ca(opts = {})
  Commands::ShowCA.new.execute(opts)
end

#show_cert(opts = {}) ⇒ Object



74
75
76
# File 'lib/ruby_easy_rsa.rb', line 74

def show_cert(opts = {})
  Commands::ShowCert.new.execute(opts)
end

#show_req(opts = {}) ⇒ Object



70
71
72
# File 'lib/ruby_easy_rsa.rb', line 70

def show_req(opts = {})
  Commands::ShowReq.new.execute(opts)
end

#sign_req(opts = {}) ⇒ Object



38
39
40
# File 'lib/ruby_easy_rsa.rb', line 38

def sign_req(opts = {})
  Commands::SignReq.new.execute(opts)
end

#update_db(opts = {}) ⇒ Object



66
67
68
# File 'lib/ruby_easy_rsa.rb', line 66

def update_db(opts = {})
  Commands::UpdateDB.new.execute(opts)
end

#upgrade(opts = {}) ⇒ Object



102
103
104
# File 'lib/ruby_easy_rsa.rb', line 102

def upgrade(opts = {})
  Commands::Upgrade.new.execute(opts)
end