class RestPki::PadesSignatureExplorer

Public Class Methods

new(restpki_client) click to toggle source
Calls superclass method
# File lib/rest_pki/pades_signature_explorer.rb, line 4
def initialize(restpki_client)
    super(restpki_client)
end

Public Instance Methods

open() click to toggle source
# File lib/rest_pki/pades_signature_explorer.rb, line 8
def open()
    if @signature_file_content.to_s.empty?
        raise 'The signature file to be opened not set'
    end

    request = get_request(PDF_MIME_TYPE)
    @restpki_client.post('Api/PadesSignatures/Open', request, 'pades_explorer_model')
end