setasign\SetaPDF2\Signer\X509

Extensions Class offering access to X509 extensions.

File: /SetaPDF v2/Signer/X509/Extensions.php
Old class name (alias): \SetaPDF_Signer_X509_Extensions

Class hierarchy

Summary

Properties

$_extensions

protected array 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()

Get an extension by its OID.

Parameters
$oid : string
 

getAll()

Get all extensions.