SetaPDF_Signer_X509_Extension_CrlDisributionPoint Class representing the X509 Certificate Revocation List distribution points extension.

File: /SetaPDF v2/Signer/X509/Extension/CrlDisributionPoint.php

Class hierarchy

Summary

Constants

OID

public const string SetaPDF_Signer_X509_Extension_CrlDisributionPoint::OID = '2.5.29.31'

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 }

$_oid

The extension OID.


Static Methods


Methods

__construct()

_fetchCrls()

protected SetaPDF_Signer_X509_Extension_CrlDisributionPoint::_fetchCrls (
boolean $returnFirst, array $uris, SetaPDF_Signer_InformationResolver_Manager $informationResolverManager [, Psr\SimpleCache\CacheInterface|null $cache = null ]
): false|SetaPDF_Signer_X509_Crl|SetaPDF_Signer_X509_Crl[]

Fetches all or only the first found CRL.

Parameters
$returnFirst : boolean
 
$uris : array
 
$informationResolverManager : SetaPDF_Signer_InformationResolver_Manager
 
$cache : Psr\SimpleCache\CacheInterface|null
 
Exceptions

Throws \Psr\SimpleCache\InvalidArgumentException

fetchCrl()

public SetaPDF_Signer_X509_Extension_CrlDisributionPoint::fetchCrl (
SetaPDF_Signer_InformationResolver_Manager $informationResolverManager [, Psr\SimpleCache\CacheInterface|null $cache = null ]
): false|SetaPDF_Signer_X509_Crl

Fetch the first found CRL.

Parameters
$informationResolverManager : SetaPDF_Signer_InformationResolver_Manager
 
$cache : Psr\SimpleCache\CacheInterface|null
 
Exceptions

Throws \Psr\SimpleCache\InvalidArgumentException

Throws SetaPDF_Signer_Asn1_Exception

fetchCrls()

public SetaPDF_Signer_X509_Extension_CrlDisributionPoint::fetchCrls (
SetaPDF_Signer_InformationResolver_Manager $informationResolverManager [, Psr\SimpleCache\CacheInterface $cache = null ]
): false|SetaPDF_Signer_X509_Crl[]

Fetch all CRLs.

Parameters
$informationResolverManager : SetaPDF_Signer_InformationResolver_Manager
 
$cache : Psr\SimpleCache\CacheInterface
 
Exceptions

Throws \Psr\SimpleCache\InvalidArgumentException

Throws SetaPDF_Signer_Asn1_Exception

getExtensionValue()

getLogger()

Get the logger instance.

If no logger instance was passed before a new instance of SetaPDF_Signer_ValidationRelatedInfo_Logger is returned.

getOid()

Get the OID.

getUris()

Get all CRL URIs from the extension.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

isCritical()

Get the critical flag.