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

create()

Create an extension instance.

Parameters
$extension : SetaPDF_Signer_Asn1_Element
 

Methods

__construct()

getExtensionValue()

Get the extensions value.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

getKeyIdentifier()

Get the key identifier.

Parameters
$hex

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.