setasign\SetaPDF2\Signer\ValidationRelatedInfo

CertificateResult Class representing the validation related information result of a certificate.

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

Class hierarchy

Summary

Properties

$_certificate

$_crl

The CRL for the certificate.

$_ocspResponse

The OCSP response for the certificate.


Methods

__construct()

The constructor.

Parameters
$certificate : \SetaPDF_Signer_X509_Certificate
 
$ocspResponse : ?\SetaPDF_Signer_Ocsp_Response
 
$crl : ?\SetaPDF_Signer_X509_Crl
 

getCertificate()

getCrl()

Get the CRL.

getOcspResponse()

Get the OCSP response.

hasCrl()

public CertificateResult::hasCrl (
void
): bool

Checks whether a CRL is available or not.

hasOcspResponse()

public CertificateResult::hasOcspResponse (
void
): bool

Checks whether an OCSP response is available or not.