setasign\SetaPDF2\Signer\X509
Crl Class representing a CRL.
File: /SetaPDF v2/Signer/X509/Crl.php
Old class name (alias):
\SetaPDF_Signer_X509_Crl
CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING } TBSCertList ::= SEQUENCE { version Version OPTIONAL, -- if present, MUST be v2 signature AlgorithmIdentifier, issuer Name, thisUpdate Time, nextUpdate Time OPTIONAL, revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, version MUST be v2 } OPTIONAL, crlExtensions [0] EXPLICIT Extensions OPTIONAL -- if present, version MUST be v2 }
Class hierarchy
Summary
Static Properties
$usePhpseclibForRsaPss
Flag defining whether usage of phpseclib or default OpenSSL methods for RSA_PSS validation.
$verifyCallback
static public ?callable \setasign\SetaPDF2\Signer\Asn1\Signed::$verifyCallback
A callable that can be used to implement individual verification logic.
Properties
$_crl
protected \SetaPDF_Signer_Asn1_Element Crl::$_crl
The ASN.1 element holding the CRL.
$_revokedCertificates
protected array Crl::$_revokedCertificates
Cache of revoked certificates. Indexed by serial numbers (hex encoded).
Static Methods
Methods
getIssuerName()
getRevokedCertificates()
Get all revoked certificates.
Return Values
The index is the hex encoded serial number of the certificate. The value is an array with detailed information (currently only "revocationDate").
Exceptions
getSignatureAlgorithm()
Return Values
The first value holds the OID of the algorithm. The second value is the ASN.1 structure of the parameters.
Exceptions
isRevoked()
verify()
public \setasign\SetaPDF2\Signer\Asn1\Signed::verify (
\SetaPDF_Signer_X509_Certificate $signerCertificate
): boolVerify the signed object.
Parameters
- $signerCertificate : \SetaPDF_Signer_X509_Certificate