class HexaPDF::DigitalSignature::PKCS1Handler

Parent

The signature handler for PKCS#1 based sub-filters, the only being the adbe.x509.rsa_sha1 sub-filter.

Note that PKCS#1 signatures are deprecated with PDF 2.0.

See: PDF2.0 s12.8.3.2

Public Instance Methods

certificate_chain()

Returns the certificate chain.

signer_certificate()

Returns the signer certificate (an instance of OpenSSL::X509::Certificate).

verify(store, allow_self_signed: false)

Verifies the signature using the provided OpenSSL::X509::Store object.