Parser
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Parser constructor.
- parse() : PublicKeyInterface
- parseKey() : PublicKeyInterface
Properties
$adapter
private
GmpMathInterface
$adapter
$pointSerializer
private
UncompressedPointSerializer
$pointSerializer
Methods
__construct()
Parser constructor.
public
__construct(GmpMathInterface $adapter[, PointSerializerInterface|null $pointSerializer = null ]) : mixed
Parameters
- $adapter : GmpMathInterface
- $pointSerializer : PointSerializerInterface|null = null
parse()
public
parse(string $binaryData) : PublicKeyInterface
Parameters
- $binaryData : string
Tags
Return values
PublicKeyInterfaceparseKey()
public
parseKey(GeneratorPoint $generator, string $data) : PublicKeyInterface
Parameters
- $generator : GeneratorPoint
- $data : string