wireshark/epan/dissectors/asn1/x509af
Guy Harris 940775b948 Do most of the RFC 7468 file processing in the dissector.
Have the Wiretap code just do a heuristic test to see if the file looks
like a RFC 7468 file and just had the entire blob of raw file data to
the caller, with an encapsulation type of WTAP_ENCAP_RFC7468.

Have a file-rfc7468.c dissector that processes the lines of the file,
displaying all of them.  Have it extract the label from the
pre-encapsulation boundary line, and, after it's decoded the
base64-encoded data lines into a blob of data, try handing the tvbuff
with the blob to dissectors that have registered in the
"pem.preeb_label" dissector table with the appropriate label value, and
hand it to the raw BER dissector only if that fails.

This allows some files to have the content dissected as more than just a
raw blob of BER-encoded data.

Change-Id: I98db9f0beb86e5694fb8e886005a2df4fc96ba71
Reviewed-on: https://code.wireshark.org/review/28914
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-01 04:58:43 +00:00
..
AuthenticationFramework.asn x509: Add decoding of Userid 2018-05-15 17:10:33 +00:00
CMakeLists.txt
packet-x509af-template.c Do most of the RFC 7468 file processing in the dissector. 2018-08-01 04:58:43 +00:00
packet-x509af-template.h
x509af.cnf x509: Add decoding of Userid 2018-05-15 17:10:33 +00:00