Class: Cryptopro::Certificate
Constant Summary
Constants inherited from Base
Base::CERTIFICATE_FILE_NAME, Base::CERTIFICATE_LINE_LENGTH
Class Method Summary collapse
Methods inherited from Base
add_container_to_certificate, create_temp_certificate_file, create_temp_dir, create_temp_file
Class Method Details
.info(certificate_body) ⇒ Object
4 5 6 7 8 |
# File 'lib/cryptopro/certificate.rb', line 4 def self.info(certificate_body) certificate_file_path = create_temp_certificate_file(certificate_body) cryptopro_answer = get_info(certificate_file_path) convert_from_raw_to_hashes(cryptopro_answer) end |