This API provides a specification of ticket data as an interface and an
implementation of an encoder/decoder to encode and decode ticket data
to an asn.1 PER encoded byte stream according to the UIC specification.
Any ticket data implementing the interface defined in package
spec can be encoded/decoded. The package
impl provides a simple implementation of the ticket.