SetaPDF_Signer_ValidationRelatedInfo_ResultBySignedData Class representing a validation related information result by a SignedData object.
File: /SetaPDF v2/Signer/ValidationRelatedInfo/ResultBySignedData.php
Class hierarchy
Summary
Properties
$_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_ResultBySignedData::__construct (
SetaPDF_Signer_ValidationRelatedInfo_Result $parent, SetaPDF_Signer_X509_Certificate $signingCertificate, SetaPDF_Signer_Cms_SignedData $signedData
)The constructor.
Parameters
- $parent : SetaPDF_Signer_ValidationRelatedInfo_Result
- $signingCertificate : SetaPDF_Signer_X509_Certificate
- $signedData : SetaPDF_Signer_Cms_SignedData
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()
getOcspResponses()
public SetaPDF_Signer_ValidationRelatedInfo_Result::getOcspResponses (
void
): SetaPDF_Signer_Ocsp_Response[]Get all OCSP responses indexed by their certificate digests.
See
- Certificate::getDigest()
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