class CertificateAuthority::OCSPRequestReader
Attributes
ocsp_request[RW]
raw_ocsp_request[RW]
Public Class Methods
from_der(request_body)
click to toggle source
# File vendor/certificate_authority/lib/certificate_authority/ocsp_handler.rb, line 60 def self.from_der(request_body) reader = OCSPRequestReader.new reader.raw_ocsp_request = request_body reader.ocsp_request = OpenSSL::OCSP::Request.new(request_body) reader end
Public Instance Methods
serial_numbers()
click to toggle source
# File vendor/certificate_authority/lib/certificate_authority/ocsp_handler.rb, line 54 def serial_numbers @ocsp_request.certid.collect do |cert_id| cert_id.serial end end