class HTTPClient::JRubySSLSocket::JavaCertificate

Attributes

cert[R]

Public Class Methods

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

Public Instance Methods

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