class HexaPDF::DigitalSignature::CMSHandler

Parent

The signature handler for PKCS#7 a.k.a. CMS signatures. Those include, for example, the adbe.pkcs7.detached and ETSI.CAdES.detached sub-filters.

See: PDF2.0 s12.8.3.3

Public Class Methods

new(signature_dict)

Creates a new signature handler for the given signature dictionary.

Calls superclass method

Public Instance Methods

certificate_chain()

Returns the certificate chain.

signer_certificate()

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

signer_info()

Returns the signer information object (an instance of OpenSSL::PKCS7::SignerInfo).

signer_name()

Returns the common name of the signer.

Calls superclass method
signing_time()

Returns the time of signing.

verify(store, allow_self_signed: false)

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

Calls superclass method