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

$_crl

The CRL for the certificate.

$_ocspResponse

The OCSP response for the certificate.


Methods

__construct()

public SetaPDF_Signer_ValidationRelatedInfo_CertificateResult::__construct (
Certificate $certificate [, OcspResponse|null $ocspResponse = null [, Crl|null $crl = null ]]
)

The constructor.

Parameters
$certificate : Certificate
 
$ocspResponse : OcspResponse|null
 
$crl : Crl|null
 

getCertificate()

Get the certificate.

getCrl()

Get the CRL.

getOcspResponse()

Get the OCSP response.

hasCrl()

Checks whether a CRL is available or not.

hasOcspResponse()

Checks whether an OCSP response is available or not.