Module: R509
- Defined in:
- lib/r509.rb,
lib/r509/csr.rb,
lib/r509/spki.rb,
lib/r509/cert.rb,
lib/r509/asn1.rb,
lib/r509/config.rb,
lib/r509/engine.rb,
lib/r509/version.rb,
lib/r509/subject.rb,
lib/r509/trollop.rb,
lib/r509/helpers.rb,
lib/r509/io_helpers.rb,
lib/r509/exceptions.rb,
lib/r509/oid_mapper.rb,
lib/r509/private_key.rb,
lib/r509/message_digest.rb,
lib/r509/crl/signed_list.rb,
lib/r509/config/ca_config.rb,
lib/r509/crl/reader_writer.rb,
lib/r509/crl/administrator.rb,
lib/r509/config/cert_profile.rb,
lib/r509/cert/extensions/base.rb,
lib/r509/cert/extensions/key_usage.rb,
lib/r509/config/subject_item_policy.rb,
lib/r509/cert/extensions/ocsp_no_check.rb,
lib/r509/cert/extensions/name_constraints.rb,
lib/r509/cert/extensions/validation_mixin.rb,
lib/r509/cert/extensions/basic_constraints.rb,
lib/r509/cert/extensions/extended_key_usage.rb,
lib/r509/cert/extensions/policy_constraints.rb,
lib/r509/cert/extensions/inhibit_any_policy.rb,
lib/r509/cert/extensions/certificate_policies.rb,
lib/r509/cert/extensions/authority_info_access.rb,
lib/r509/cert/extensions/subject_key_identifier.rb,
lib/r509/cert/extensions/crl_distribution_points.rb,
lib/r509/cert/extensions/subject_alternative_name.rb,
lib/r509/cert/extensions/authority_key_identifier.rb
Overview
shared methods for validation among the extensions objects
Defined Under Namespace
Modules: ASN1, CRL, CertificateAuthority, Config, Helpers, OCSP, OIDMapper, Validity Classes: CSR, Cert, Engine, MessageDigest, NameSanitizer, PrivateKey, R509Error, SPKI, Subject
Constant Summary
- VERSION =
The version of the r509 gem
"0.10.0"
Class Method Summary (collapse)
-
+ (Boolean) ec_supported?
Helper method to check if EC support is built-in.
-
+ (nil) print_debug
print version information to console.
Class Method Details
+ (Boolean) ec_supported?
Helper method to check if EC support is built-in
33 34 35 |
# File 'lib/r509.rb', line 33 def self.ec_supported? (not defined?(OpenSSL::PKey::EC::UNSUPPORTED)) end |
+ (nil) print_debug
print version information to console
25 26 27 28 29 30 |
# File 'lib/r509.rb', line 25 def self.print_debug puts "r509 v#{R509::VERSION}" puts OpenSSL::OPENSSL_VERSION puts "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" puts "Elliptic curve support: #{self.ec_supported?}" end |