Class: OpenSSL::X509::Certificate
- Inherits:
-
Object
- Object
- OpenSSL::X509::Certificate
- Defined in:
- lib/httpclient/util.rb
Instance Method Summary collapse
Instance Method Details
#to_text ⇒ Object
39 40 41 42 |
# File 'lib/httpclient/util.rb', line 39 def to_text cf = CertificateFactory.getInstance('X.509') cf.generateCertificate(ByteArrayInputStream.new(self.to_der.to_java_bytes)).toString end |