Provide Asn.S.unsigned_integer, which includes transformations to unsigned int (#44)
* Provide Asn.S.unsigned_integer, which includes transformations to unsigned int
This embeds the code to strip superfluous leading 0s, adds a leading 0 if
required - and the decoding side ensures that the value is an unsigned integer,
and strips of the potentially leading 0.
* add custom random generators for int / unsigned_integer, suggested by @reynir
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
d8c3ef
-
May 08 10:12 +00:00