method
to_s
v2_6_3 -
Show latest stable
- Class:
OpenSSL::X509::Extension
to_s()public
No documentation available.
# File ext/openssl/lib/openssl/x509.rb, line 49
def to_s # "oid = critical, value"
str = self.oid
str << " = "
str << "critical, " if self.critical?
str << self.value.gsub(/\n/, ", ")
end