◆ __construct()
◆ __toString()
◆ calculateContentLength()
calculateContentLength |
( |
| ) |
|
|
protected |
◆ fromBinary()
static fromBinary |
( |
& |
$binaryData, |
|
|
& |
$offsetIndex = 0 |
|
) |
| |
|
static |
Parse an instance of this class from its binary DER encoded representation.
- Paramètres
-
string | $binaryData | |
int | $offsetIndex | the offset at which parsing of the $binaryData is started. This parameter ill be modified to contain the offset index of the next object after this object has been parsed |
- Exceptions
-
ParserException | if the given binary data is either invalid or not currently supported |
- Renvoie
- static
Implémente Parsable.
Références ASNObject\$contentLength, et Identifier\OBJECT_IDENTIFIER.
Référencé par Attributes\fromBinary(), et ASNObject\fromBinary().
◆ getContent()
◆ getEncodedValue()
◆ getType()
◆ parseOid()
static parseOid |
( |
& |
$binaryData, |
|
|
& |
$offsetIndex, |
|
|
|
$octetsToRead |
|
) |
| |
|
staticprotected |
Parses an object identifier except for the first octet, which is parsed differently. This way relative object identifiers can also be parsed using this.
- Paramètres
-
$binaryData | |
$offsetIndex | |
$octetsToRead | |
- Exceptions
-
- Renvoie
- string
Références $oid, et Base128\decode().
◆ $subIdentifiers
◆ $value
La documentation de cette classe a été générée à partir du fichier suivant :