SetaPDF_Signer_X509_Extension_AuthorityKeyIdentifier Class representing the X509 Authority key identifier extension.

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

Class hierarchy

Summary

Constants

OID

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

getAuthorityCertificateIssuer()

Get authority certificate issuer name.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

getAuthorityCertificateSerialNumber()

Get authority certificate serial number.

Parameters
$hex : bool

Whether the return value should be hex encoded or not.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

getExtensionValue()

getKeyIdentifier()

public SetaPDF_Signer_X509_Extension_AuthorityKeyIdentifier::getKeyIdentifier (
[ bool $hex = true ]
): false|string

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.