Enhance client handshake object parsing
nickfajones opened this issue · 2 comments
nickfajones commented
Objects embedded in the client handshake include: cipher suites, compression methods
and TLS extensions
In addition to the string of ids currently being parsed out, extract more comprehensive
information:
- cipher suites - embed full cipher description including nice name and algorithm key length. This information will be sourced from the suites.csv document included in the source tree. It will be processed into a source file: sslhaf_suites.c which contain lookup routines that return a suite description given an id number. The main lookup function will be exported in sslhaf.h as a useful utility function.
- compression methods - store a printable string of comma separated compression method ids as well as an array of ids
- extensions - store extension information as the existing list of printable ids, but in addition, provide a traversable list of objects with more detailed extension information. The object will have a standard header containing the extension name, the id and an enumeration key, and a union of subobjects. The real subobject stored in the union will be demarcated by the extension key in the header, which will either indicate a supported extension object type, or indicate a generic 'unsupported' type.
ivanr commented
Closing as it seems that this had been merged a while ago.
Mongkhol1994 commented
..