SetaPDF_Signer_Ocsp_CertId Helper class to create and decode CertID structures.
File: /SetaPDF v2/Signer/Ocsp/CertId.php
Class hierarchy
Summary
Properties
Static Methods
create()
public static SetaPDF_Signer_Ocsp_CertId::create (
SetaPDF_Signer_X509_Certificate $certificate, SetaPDF_Signer_X509_Certificate $issuerCertificate [, string $hashAlgorithm = SetaPDF_Signer_Digest::SHA_1 ]
): SetaPDF_Signer_Ocsp_CertIdStatic 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()
equals()
Check if this CertId value is equal to another instance.
Parameters
- $certId : SetaPDF_Signer_Ocsp_CertId