setasign\SetaPDF2\Signer\ValidationRelatedInfo

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

File: /SetaPDF v2/Signer/ValidationRelatedInfo/ResultByField.php
Old class name (alias): \SetaPDF_Signer_ValidationRelatedInfo_ResultByField

Class hierarchy

Summary

Properties

$_integrityResult

The integrity result of a signature field.

$_signedData

$_signingCertificate

$_vri

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

All validation related informationy by certificates.


Methods

__construct()

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

The constructor.

Parameters
$parent : ResultBySignedData
 
$integrityResult : IntegrityResult
 

add()

public Result::add (): void

Add a certificate result.

Parameters
$result : CertificateResult
 
Exceptions

Throws \setasign\SetaPDF2\Signer\Exception

getCertificates()

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

getSignatureProperties()

public ResultByField::getSignatureProperties (
void
): array

Get the properties from the PDF signature value.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getSignedData()

getSigningCertificate()

getValidationRelatedInfoByCertificate()

Get validation related information by a certificate.

Parameters
$certificate : \setasign\SetaPDF2\Signer\X509\Certificate
 
Exceptions

Throws \setasign\SetaPDF2\Signer\Exception

hasValidationRelatedInforForCertificate()

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

Parameters
$certificate : \setasign\SetaPDF2\Signer\X509\Certificate
 
Exceptions

Throws \setasign\SetaPDF2\Signer\Exception

isCertified()

public ResultByField::isCertified (
void
): bool

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

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception