SetaPDF_Signer_Ocsp_CertId Helper class to create and decode CertID structures.

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

Class hierarchy

Summary

Properties

$_certId

The CertId ASN.1 structure.


Static Methods

create()

Static function to create an CertId ASN.1 structure by a certificate, issuer certificate and hash algorithm.

Parameters
$certificate : SetaPDF_Signer_X509_Certificate
 
$issuerCertificate : SetaPDF_Signer_X509_Certificate
 
$hashAlgorithm : string
 
Exceptions

Throws SetaPDF_Signer_Exception


Methods

__construct()

The constructor.

Parameters
$certId : SetaPDF_Signer_Asn1_Element

The CertId ASN.1 element.

equals()

Check if this CertId value is equal to another instance.

Parameters
$certId : SetaPDF_Signer_Ocsp_CertId
 

get()

Get the CertId ASN.1 element.