SetaPDF_Signer_X509_Extension_SubjectKeyIdentifier Class representing the X509 Subject key identifier extension.

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

Class hierarchy

Summary

Constants

OID

public const string SetaPDF_Signer_X509_Extension_SubjectKeyIdentifier::OID = '2.5.29.14'

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

getExtensionValue()

getKeyIdentifier()

Get the key identifier.

Parameters
$hex : bool

Whether the return value should be hex encoded or not.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

getOid()

Get the OID.

isCritical()

Get the critical flag.