Class: Ccrypto::PKCS7Config
- Inherits:
-
Object
- Object
- Ccrypto::PKCS7Config
- Includes:
- AlgoConfig, TR::CondUtils
- Defined in:
- lib/ccrypto/configs/pkcs7_config.rb
Instance Attribute Summary collapse
-
#certForDecryption ⇒ Object
for decryption operation.
-
#private_key ⇒ Object
attr_accessor :keybundle.
-
#public_key ⇒ Object
attr_accessor :keybundle.
-
#signerCert ⇒ Object
for signing operation.
Instance Method Summary collapse
Methods included from AlgoConfig
Instance Attribute Details
#certForDecryption ⇒ Object
for decryption operation
14 15 16 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 14 def certForDecryption @certForDecryption end |
#private_key ⇒ Object
attr_accessor :keybundle
10 11 12 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 10 def private_key @private_key end |
#public_key ⇒ Object
attr_accessor :keybundle
10 11 12 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 10 def public_key @public_key end |
#signerCert ⇒ Object
for signing operation
12 13 14 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 12 def signerCert @signerCert end |
Instance Method Details
#add_recipient_cert(cert) ⇒ Object
16 17 18 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 16 def add_recipient_cert(cert) recpCerts << cert if not_empty?(cert) end |
#recipient_certs ⇒ Object
20 21 22 |
# File 'lib/ccrypto/configs/pkcs7_config.rb', line 20 def recipient_certs recpCerts end |