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

create()

Create an extension instance.

Parameters
$extension : SetaPDF_Signer_Asn1_Element
 

Methods

__construct()

_fetchCrls()

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

Fetches all or only the first found CRL.

Parameters
$returnFirst
 
$uris
 
$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 ]
):

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|null $cache = null ]
):

Fetch all CRLs.

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

Throws \Psr\SimpleCache\InvalidArgumentException

Throws SetaPDF_Signer_Asn1_Exception

getExtensionValue()

Get the extensions value.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

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.