Method: OpenSSL::X509::Extension#to_h

Defined in:
lib/openssl/x509.rb

#to_hObject

“value”=>value, “critical”=>true|false



60
61
62
# File 'lib/openssl/x509.rb', line 60

def to_h # {"oid"=>sn|ln, "value"=>value, "critical"=>true|false}
  {"oid"=>self.oid,"value"=>self.value,"critical"=>self.critical?}
end