SetaPDF_Signer_ValidationRelatedInfo_Result Class representing a validation related information result.

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

Class hierarchy

Summary

Properties

$_vri

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

All validation related informationy by certificates.


Methods

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.

getOcspResponses()

Get all OCSP responses indexed by their certificate digests.

See
  • Certificate::getDigest()

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