SetaPDF_Signer_ValidationRelatedInfo_ResultByField Class representing a validation related information result by a signature field name.

File: /SetaPDF v2/Signer/ValidationRelatedInfo/ResultByField.php

Class hierarchy

Summary

Properties

$_integrityResult

The integrity result of a signature field.

$_signedData

The SigneData object.

$_signingCertificate

The signing certificate.

$_vri

protected CertificateResult[] SetaPDF_Signer_ValidationRelatedInfo_Result::$_vri = array()

All validation related informationy by certificates.


Methods

__construct()

public SetaPDF_Signer_ValidationRelatedInfo_ResultByField::__construct (
ResultBySignedData $parent, IntegrityResult $integrityResult
)

The constructor.

Parameters
$parent : ResultBySignedData
 
$integrityResult : IntegrityResult
 

add()

public SetaPDF_Signer_ValidationRelatedInfo_Result::add (
CertificateResult $result
): void

Add a certificate result.

Parameters
$result : CertificateResult
 

getCertificates()

Get all certificates indexed by their digest.

See
  • Certificate::getDigest()

getCrls()

Get all CRLs indexed by their certificate digests.

getIntegrityResult()

Get the integrity result object of the signature field.

getOcspResponses()

Get all OCSP responses indexed by their certificate digests.

See
  • Certificate::getDigest()

getSignatureProperties()

Get the properties from the PDF signature value.

getSignedData()

Get the SignedData object.

getSigningCertificate()

Get the signing certificate.

getValidationRelatedInfoByCertificate()

public SetaPDF_Signer_ValidationRelatedInfo_Result::getValidationRelatedInfoByCertificate (
Certificate $certificate
): CertificateResult|false

Get validation related information by a certificate.

Parameters
$certificate : Certificate
 

hasValidationRelatedInforForCertificate()

Checks whether this instance has validation related information of a specific certificate.

Parameters
$certificate : Certificate
 

isCertified()

Check whether the signature of this field is a certified signature or not.