SetaPDF_Signer_Timestamp_Module_AbstractModule Abstract class representing a timestamp module

File: /SetaPDF/Signer/Timestamp/Module/AbstractModule.php

Class hierarchy

Summary

Properties

$_digest

The message digest


Methods

_getHash()

protected string SetaPDF_Signer_Timestamp_Module_AbstractModule::_getHash ( string|SetaPDF_Core_Reader_FilePath $data )

Get the hash that should be timestamped.

Parameters
$data : string|SetaPDF_Core_Reader_FilePath

The hash of the main signature

getDigest()

public string SetaPDF_Signer_Timestamp_Module_AbstractModule::getDigest ( void )

Get the digest algorithm.

setDigest()

public void SetaPDF_Signer_Timestamp_Module_AbstractModule::setDigest ( string $digest )

Set the digest algorithm to use.

Parameters
$digest : string

Possible values are defined in SetaPDF_Signer_Digest

See