Class: PkiExpress::Signer
- Inherits:
-
BaseSigner
- Object
- PkiExpressOperator
- BaseSigner
- PkiExpress::Signer
- Defined in:
- lib/pki_express/signer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cert_password ⇒ Object
Returns the value of attribute cert_password.
-
#cert_thumb ⇒ Object
Returns the value of attribute cert_thumb.
-
#output_file_path ⇒ Object
Returns the value of attribute output_file_path.
-
#trust_service_session ⇒ Object
Returns the value of attribute trust_service_session.
Attributes inherited from PkiExpressOperator
#culture, #offline, #signature_policy, #time_zone, #timestamp_authority, #trust_lacuna_test_root
Instance Method Summary collapse
-
#initialize(config = PkiExpressConfig.new) ⇒ Signer
constructor
A new instance of Signer.
-
#pkcs12 ⇒ Object
region The “pkcs12” accessors.
- #pkcs12=(content_raw) ⇒ Object
- #pkcs12_base64 ⇒ Object
- #pkcs12_base64=(pkcs12_base64) ⇒ Object
- #pkcs12_path ⇒ Object
- #pkcs12_path=(pkcs12_path) ⇒ Object
Methods inherited from PkiExpressOperator
#add_file_reference, #add_trusted_root, finalize
Constructor Details
#initialize(config = PkiExpressConfig.new) ⇒ Signer
Returns a new instance of Signer.
7 8 9 10 11 12 13 14 15 |
# File 'lib/pki_express/signer.rb', line 7 def initialize(config=PkiExpressConfig.new) super(config) @output_file_path = nil @pkcs12_path = nil @cert_thumb = nil @cert_password = nil @use_machine = false @trust_service_session = nil end |
Instance Attribute Details
#cert_password ⇒ Object
Returns the value of attribute cert_password.
5 6 7 |
# File 'lib/pki_express/signer.rb', line 5 def cert_password @cert_password end |
#cert_thumb ⇒ Object
Returns the value of attribute cert_thumb.
5 6 7 |
# File 'lib/pki_express/signer.rb', line 5 def cert_thumb @cert_thumb end |
#output_file_path ⇒ Object
Returns the value of attribute output_file_path.
5 6 7 |
# File 'lib/pki_express/signer.rb', line 5 def output_file_path @output_file_path end |
#trust_service_session ⇒ Object
Returns the value of attribute trust_service_session.
5 6 7 |
# File 'lib/pki_express/signer.rb', line 5 def trust_service_session @trust_service_session end |
Instance Method Details
#pkcs12 ⇒ Object
region The “pkcs12” accessors
19 20 21 |
# File 'lib/pki_express/signer.rb', line 19 def pkcs12 _get_pkcs12 end |
#pkcs12=(content_raw) ⇒ Object
32 33 34 |
# File 'lib/pki_express/signer.rb', line 32 def pkcs12=(content_raw) _set_pkcs12(content_raw) end |
#pkcs12_base64 ⇒ Object
49 50 51 |
# File 'lib/pki_express/signer.rb', line 49 def pkcs12_base64 _get_pkcs12_base64 end |
#pkcs12_base64=(pkcs12_base64) ⇒ Object
63 64 65 |
# File 'lib/pki_express/signer.rb', line 63 def pkcs12_base64=(pkcs12_base64) _set_pkcs12_base64(pkcs12_base64) end |
#pkcs12_path ⇒ Object
82 83 84 |
# File 'lib/pki_express/signer.rb', line 82 def pkcs12_path _get_pkcs12_path end |
#pkcs12_path=(pkcs12_path) ⇒ Object
91 92 93 |
# File 'lib/pki_express/signer.rb', line 91 def pkcs12_path=(pkcs12_path) _set_pkcs12_path(pkcs12_path) end |