Thanks for the openssl example.  I wish I could have found more useful openssl 
arbitrary extension examples when I was working on this before.

As for the length fields, it was probably my mis-interpretation of prose such 
as this:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb540805

If the string contains fewer than 128 bytes, the Length field of the TLV 
triplet requires only one byte to specify the content length. If the string is 
more than 127 bytes, bit 7 of the Length field is set to 1 and bits 6 through 0 
specify the number of additional bytes used to identify the content length.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to