TemplateParser
in package
Table of Contents
Methods
- parseBase64() : ASNObject|Sequence
- parseBinary() : ASNObject|Sequence
- assertTypeId() : mixed
- validate() : mixed
Methods
parseBase64()
public
parseBase64(string $data, array<string|int, mixed> $template) : ASNObject|Sequence
Parameters
- $data : string
- $template : array<string|int, mixed>
Tags
Return values
ASNObject|SequenceparseBinary()
public
parseBinary(string $binary, array<string|int, mixed> $template) : ASNObject|Sequence
Parameters
- $binary : string
- $template : array<string|int, mixed>
Tags
Return values
ASNObject|SequenceassertTypeId()
private
assertTypeId(mixed $expectedTypeId, ASNObject $object) : mixed
Parameters
- $expectedTypeId : mixed
- $object : ASNObject
validate()
private
validate(ASNObject $object, mixed $key, mixed $value) : mixed
Parameters
- $object : ASNObject
- $key : mixed
- $value : mixed