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
protected SetaPDF_Signer_ValidationRelatedInfo_IntegrityResult SetaPDF_Signer_ValidationRelatedInfo_ResultByField::$_integrityResult
The integrity result of a signature field.
$_signedData
protected SetaPDF_Signer_Cms_SignedData SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData::$_signedData
The SigneData object.
$_signingCertificate
protected SetaPDF_Signer_X509_Certificate SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData::$_signingCertificate
The signing certificate.
$_vri
protected SetaPDF_Signer_ValidationRelatedInfo_CertificateResult[] SetaPDF_Signer_ValidationRelatedInfo_Result::$_vri = array()
All validation related informationy by certificates.
Methods
__construct()
public SetaPDF_Signer_ValidationRelatedInfo_ResultByField::__construct (
SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData $parent, SetaPDF_Signer_ValidationRelatedInfo_IntegrityResult $integrityResult
)The constructor.
Parameters
- $parent : SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData
- $integrityResult : SetaPDF_Signer_ValidationRelatedInfo_IntegrityResult
add()
Add a certificate result.
Parameters
getCertificates()
public SetaPDF_Signer_ValidationRelatedInfo_Result::getCertificates (
void
): SetaPDF_Signer_X509_Certificate[]Get all certificates indexed by their digest.
See
- Certificate::getDigest()
getIntegrityResult()
public SetaPDF_Signer_ValidationRelatedInfo_ResultByField::getIntegrityResult (
void
): SetaPDF_Signer_ValidationRelatedInfo_IntegrityResultGet the integrity result object of the signature field.
getOcspResponses()
public SetaPDF_Signer_ValidationRelatedInfo_Result::getOcspResponses (
void
): SetaPDF_Signer_Ocsp_Response[]Get all OCSP responses indexed by their certificate digests.
See
- Certificate::getDigest()
getSignatureProperties()
getSignedData()
public SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData::getSignedData (
void
): SetaPDF_Signer_Cms_SignedDataGet the SignedData object.
getSigningCertificate()
public SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData::getSigningCertificate (
void
): SetaPDF_Signer_X509_CertificateGet the signing certificate.
getValidationRelatedInfoByCertificate()
public SetaPDF_Signer_ValidationRelatedInfo_Result::getValidationRelatedInfoByCertificate (
SetaPDF_Signer_X509_Certificate $certificate
): SetaPDF_Signer_ValidationRelatedInfo_CertificateResult|falseGet validation related information by a certificate.
Parameters
- $certificate : SetaPDF_Signer_X509_Certificate
hasValidationRelatedInforForCertificate()
public SetaPDF_Signer_ValidationRelatedInfo_Result::hasValidationRelatedInforForCertificate (
SetaPDF_Signer_X509_Certificate $certificate
): boolChecks whether this instance has validation related information of a specific certificate.
Parameters
- $certificate : SetaPDF_Signer_X509_Certificate
isCertified()
Check whether the signature of this field is a certified signature or not.
Exceptions
Throws SetaPDF_Core_Type_Exception