Class: OpenSSL::X509::Extension
- Defined in:
- lib/extensions/openssl/openssl/x509-internal.rb
Instance Method Summary collapse
- #to_a ⇒ Object
-
#to_h ⇒ Object
“value”=>value, “critical”=>true|false.
-
#to_s ⇒ Object
“oid = critical, value”.
Instance Method Details
#to_a ⇒ Object
57 58 59 |
# File 'lib/extensions/openssl/openssl/x509-internal.rb', line 57 def to_a [ self.oid, self.value, self.critical? ] end |
#to_h ⇒ Object
“value”=>value, “critical”=>true|false
53 54 55 |
# File 'lib/extensions/openssl/openssl/x509-internal.rb', line 53 def to_h # {"oid"=>sn|ln, "value"=>value, "critical"=>true|false} {"oid"=>self.oid,"value"=>self.value,"critical"=>self.critical?} end |