How can decode
timetag UTCTime
we are using PER unaligned.
It's the same as if it were VisibleString. There's a length determinant
followed by the string characters. Note that the length specifies the
number of characters, not the number of bytes (octets), and VisibleString
is a 7-bit character set, so unaligned PER encodes it with 7 bits per
character
By way of example, the encoding
0D60D583 864C9839 60E5839B 40
shows
- a length of 0x0D = 13,
- 13 x 7 = 91 bits of string all squeezed together, and
- 5 bits of padding.
The result is "050822090909Z".
If you have trouble finding the characters within the encoding, make sure
you write it out in bits (0's and 1's) and mark off every 7 bits. If you
continue to have trouble, contact me.
=====================================================================
Conrad Sigona Voice Mail : 1-732-302-9669 x400
OSS Nokalva Fax : 1-614-388-4156
[EMAIL PROTECTED] My direct line : 1-315-845-1773
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1