Class: OpenSSL::X509::Certificate

Inherits:
Object
  • Object
show all
Defined in:
lib/jopenssl22/openssl/x509.rb

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object


127
128
129
130
131
132
133
134
135
136
# File 'lib/jopenssl22/openssl/x509.rb', line 127

def pretty_print(q)
  q.object_group(self) {
    q.breakable
    q.text 'subject='; q.pp self.subject; q.text ','; q.breakable
    q.text 'issuer='; q.pp self.issuer; q.text ','; q.breakable
    q.text 'serial='; q.pp self.serial; q.text ','; q.breakable
    q.text 'not_before='; q.pp self.not_before; q.text ','; q.breakable
    q.text 'not_after='; q.pp self.not_after
  }
end