Class: OpenSSL::X509::Certificate
Class Method Summary
collapse
Instance Method Summary
collapse
#ca_issuer_uris, #ocsp_uris
#find_extension
#crl_uris
#authority_key_identifier
#subject_key_identifier
Methods included from Marshal
#_dump, included
Class Method Details
.load_file(path) ⇒ Object
360
361
362
|
# File 'lib/openssl/x509.rb', line 360
def self.load_file(path)
load(File.binread(path))
end
|
Instance Method Details
#pretty_print(q) ⇒ Object
349
350
351
352
353
354
355
356
357
358
|
# File 'lib/openssl/x509.rb', line 349
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
|