Class webcoder31\ezxmldsig\core\Der

A minimal reader and writer of DER, the binary encoding of X.509 certificates, CRLs, OCSP responses and time-stamp tokens (RFC 3161), for what the OpenSSL extension of PHP does not expose: the fields of names, the extensions and their criticality, the structures of the seals. Every malformation throws, and what is read is then refused. Only DER is read: an indefinite length is a malformation.

An element is an array with two keys: 'tag', its identifier octet (class, constructed bit and tag number), and 'content', its content octets (a binary string).

Methods
Constants