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

$_crl

The CRL for the certificate.

$_ocspResponse

The OCSP response for the certificate.


Methods

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.