SetaPDF_Signer_Ocsp_SingleResponse Class representing a SingleResponse structure of an OCSP response.

File: /SetaPDF v2/Signer/Ocsp/SingleResponse.php

Class hierarchy

Summary

Constants

CERT_STATUS_GOOD

Certificate status constant.

CERT_STATUS_REVOKED

Certificate status constant.

CERT_STATUS_UNKNOWN

Certificate status constant.


Properties

$_singleResponse

The ASN.1 element of the single response.


Methods

__construct()

The constructor.

Parameters
$singleResponse : SetaPDF_Signer_Asn1_Element
 

_getCertStatus()

Get the certificate status element.

Exceptions

Throws SetaPDF_Signer_Exception

getCertId()

Get the CertId instance of this single response.

getCertStatus()

Get the certificate status.

Exceptions

Throws SetaPDF_Signer_Exception

getNextUpdate()

Get the DateTime value of the "NextUpdate" field.

getThisUpdate()

Get the DateTime value of the "ThisUpdate" field.

Exceptions

Throws SetaPDF_Signer_Exception