class HexaPDF::DigitalSignature::PKCS1Handler

Parent

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

Since PKCS#1 signatures are deprecated with PDF 2.0, the handler only provides the implementation for reading and verifying signatures.

See: PDF1.7/2.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.