class HTTPClient::JRubySSLSocket::JavaCertificate

Attributes

cert[R]

Public Class Methods

new(cert) click to toggle source
# File lib/httpclient/jruby_ssl_socket.rb, line 155
def initialize(cert)
  @cert = cert
end

Public Instance Methods

subject() click to toggle source
# File lib/httpclient/jruby_ssl_socket.rb, line 159
def subject
  @cert.getSubjectDN
end
to_pem() click to toggle source
# File lib/httpclient/jruby_ssl_socket.rb, line 167
def to_pem
  '(not in PEM format)'
end
to_text() click to toggle source
# File lib/httpclient/jruby_ssl_socket.rb, line 163
def to_text
  @cert.toString
end