setasign\SetaPDF2\Signer\X509\Extension
CrlDistributionPoint Class representing the X509 Certificate Revocation List distribution points extension.
File: /SetaPDF v2/Signer/X509/Extension/CrlDistributionPoint.php
Old class name (alias):
\SetaPDF_Signer_X509_Extension_CrlDistributionPoint
Class hierarchy
Summary
Constants
OID
Extension OID.
Properties
$_extension
The extension element.
Extension ::= SEQUENCE { extnID OBJECT IDENTIFIER, critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING -- contains the DER encoding of an ASN.1 value -- corresponding to the extension type identified -- by extnID }
Static Methods
create()
Create an extension instance.
Parameters
- $extension : \SetaPDF_Signer_Asn1_Element
Methods
__construct()
_fetchCrls()
array $uris,
\SetaPDF_Signer_InformationResolver_Manager $informationResolverManager,
?\Psr\SimpleCache\CacheInterface $cache = null
Fetches all or only the first found CRL.
Parameters
- $returnFirst : bool
- $uris : array
- $informationResolverManager : \SetaPDF_Signer_InformationResolver_Manager
- $cache : ?\Psr\SimpleCache\CacheInterface
Exceptions
Throws \Psr\SimpleCache\InvalidArgumentException
fetchCrl()
?\Psr\SimpleCache\CacheInterface $cache = null
Fetch the first found CRL.
Parameters
- $informationResolverManager : \SetaPDF_Signer_InformationResolver_Manager
- $cache : ?\Psr\SimpleCache\CacheInterface
Exceptions
Throws \Psr\SimpleCache\InvalidArgumentException
fetchCrls()
\Psr\SimpleCache\CacheInterface $cache = null
Fetch all CRLs.
Parameters
- $informationResolverManager : \SetaPDF_Signer_InformationResolver_Manager
- $cache : \Psr\SimpleCache\CacheInterface
Exceptions
Throws \Psr\SimpleCache\InvalidArgumentException
getLogger()
Get the logger instance.
If no logger instance was passed before a new instance of \setasign\SetaPDF2\Signer\ValidationRelatedInfo\Logger is returned.