SetaPDF_Signer_Asn1_Element Class representing an ASN.1 element.
File: /SetaPDF v2/Signer/Asn1/Element.php
Class hierarchy
Implements
Summary
Constants
- BIT_STRING
- BMPSTRING
- BOOLEAN
- ENUMERATED
- EXTERNAL
- GENERALIZED_TIME
- GENERAL_STRING
- GRAPHIC_STRING
- IA5_STRING
- INTEGER
- IS_CONSTRUCTED
- NULL
- NUMERIC_STRING
- OBJECT_DESCRIPTOR
- OBJECT_IDENTIFIER
- OCTET_STRING
- PRINTABLE_STRING
- REAL
- RELATIVE_OID
- SEQUENCE
- SET
- T61_STRING
- TAG_CLASS_APPLICATION
- TAG_CLASS_CONTEXT_SPECIFIC
- TAG_CLASS_MASK
- TAG_CLASS_PRIVATE
- TAG_CLASS_UNIVERSAL
- TAG_MASK
- UNIVERSAL_STRING
- UTC_TIME
- UTF8_STRING
- VIDEOTEXT_STRING
- VISIBLE_STRING
Constants
BIT_STRING
Subtype constant
BMPSTRING
Subtype constant
BOOLEAN
Subtype constant
ENUMERATED
Subtype constant
EXTERNAL
Subtype constant
GENERALIZED_TIME
Subtype constant
GENERAL_STRING
Subtype constant
GRAPHIC_STRING
Subtype constant
IA5_STRING
Subtype constant
INTEGER
Subtype constant
IS_CONSTRUCTED
Constructed?
NULL
Subtype constant
NUMERIC_STRING
Subtype constant
OBJECT_DESCRIPTOR
Subtype constant
OBJECT_IDENTIFIER
Subtype constant
OCTET_STRING
Subtype constant
PRINTABLE_STRING
Subtype constant
REAL
Subtype constant
RELATIVE_OID
Subtype constant
SEQUENCE
Subtype constant
SET
Subtype constant
T61_STRING
Subtype constant
TAG_CLASS_APPLICATION
Tag class constant
TAG_CLASS_CONTEXT_SPECIFIC
Tag class constant
TAG_CLASS_MASK
Tag class constant
TAG_CLASS_PRIVATE
Tag class constant
TAG_CLASS_UNIVERSAL
Tag class constant
TAG_MASK
Tag mask
UNIVERSAL_STRING
Subtype constant
UTC_TIME
Subtype constant
UTF8_STRING
Subtype constant
VIDEOTEXT_STRING
Subtype constant
VISIBLE_STRING
Subtype constant
Properties
$_children
Array of child nodes
Array of SetaPDF_Signer_Asn1_Element
Static Methods
_parse()
Parses a BER encoded string or sequence.
Parameters
- $s : string
- $p : integer
- $outer : boolean
Exceptions
findByOid()
Finds a node by OID.
Parameters
- $oid : string
OID in dot form
- $value : SetaPDF_Signer_Asn1_Element
Root node to start from
findByPath()
Finds a node by a path.
Parameters
- $path : string
A string defining the path of the node (e.g. 1/2/3/5)
- $value : SetaPDF_Signer_Asn1_Element
Methods
__construct()
The constructor.
Parameters
- $ident : string
The identifier byte
- $value : string
The value in binary form
- $children : array
Array of
SetaPDF_Signer_Asn1_Element
instances
addChild()
getChildren()
removeChild()
setChildren()
Set child nodes.
Parameters
- $children : SetaPDF_Signer_Asn1_Element[]
Array of
SetaPDF_Signer_Asn1_Element
instances