SetaPDF_Signer_ValidationRelatedInfo_CertificateResult Class representing the validation related information result of a certificate.
File: /SetaPDF v2/Signer/ValidationRelatedInfo/CertificateResult.php
Class hierarchy
Summary
Properties
$_certificate
protected SetaPDF_Signer_X509_Certificate SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::$_certificate
The certificate.
$_ocspResponse
protected SetaPDF_Signer_Ocsp_Response SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::$_ocspResponse
The OCSP response for the certificate.
Methods
__construct()
public SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::__construct (
SetaPDF_Signer_X509_Certificate $certificate [, SetaPDF_Signer_Ocsp_Response|null $ocspResponse = null [, SetaPDF_Signer_X509_Crl|null $crl = null ]]
)The constructor.
Parameters
- $certificate : SetaPDF_Signer_X509_Certificate
- $ocspResponse : SetaPDF_Signer_Ocsp_Response|null
- $crl : SetaPDF_Signer_X509_Crl|null
getCertificate()
public SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::getCertificate (
void
): SetaPDF_Signer_X509_CertificateGet the certificate.
getCrl()
public SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::getCrl (
void
): bool|SetaPDF_Signer_X509_CrlGet the CRL.
getOcspResponse()
public SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::getOcspResponse (
void
): bool|SetaPDF_Signer_Ocsp_ResponseGet the OCSP response.