SetaPDF_Signer_X509_Extension_Extension Base class for X509 extensions.

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

Class hierarchy

Summary

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

getExtensionValue()

Get the extensions value.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

getOid()

Get the OID.

isCritical()

Get the critical flag.