SetaPDF_Signer_X509_Extension_TimeStamp Class representing the Adobe proprietary X509 Time-stamp extension.

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

Provides the server with the URL to use to signatures created using this credential.

Class hierarchy

Summary

Constants

OID

public const string SetaPDF_Signer_X509_Extension_TimeStamp::OID = '1.2.840.113583.1.1.9.1'

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

public static SetaPDF_Signer_X509_Extension_Extension::create (): AuthorityInformationAccess|AuthorityKeyIdentifier|BasicConstraints|CrlDisributionPoint|ExtendedKeyUsage|SetaPDF_Signer_X509_Extension_Extension|KeyUsage|OcspNoCheck|SubjectKeyIdentifier

Create an extension instance.

Parameters
$extension : SetaPDF_Signer_Asn1_Element
 

Methods

__construct()

getExtensionValue()

getLocation()

Get the Location of the time stamp server.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

Throws SetaPDF_Signer_Exception

getOid()

Get the OID.

getVersion()

Get the extension version.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception

isCritical()

Get the critical flag.

requiresAuth()

Get whether the server requires authentication or not.

Exceptions

Throws SetaPDF_Signer_Asn1_Exception