Documentation

Parsable

The Parsable interface describes classes that can be parsed from their binary DER representation.

Table of Contents

fromBinary()  : static
Parse an instance of this class from its binary DER encoded representation.

Methods

fromBinary()

Parse an instance of this class from its binary DER encoded representation.

public static fromBinary(string &$binaryData[, int &$offsetIndex = null ]) : static
Parameters
$binaryData : string
$offsetIndex : int = null

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

Tags
throws
ParserException

if the given binary data is either invalid or not currently supported

Return values
static

Search results