SetaPDF_Signer_X509_Extensions Class offering access to X509 extensions.

File: /SetaPDF v2/Signer/X509/Extensions.php

Class hierarchy

Summary

Properties

$_extensions

protected array SetaPDF_Signer_X509_Extensions::$_extensions = array()

All extensions.

$_tBSCertificate

The ASN.1 element of the tBSCertificate value.


Methods

__construct()

The constructor.

Parameters
$tBSCertificate : SetaPDF_Signer_Asn1_Element
 

get()

public SetaPDF_Signer_X509_Extensions::get (
string $oid
): Extension|false

Get an extension by its OID.

Parameters
$oid : string
 

getAll()

public SetaPDF_Signer_X509_Extensions::getAll (
void
): Extension[]

Get all extensions.