Wireshark-commits: [Wireshark-commits] master 0bc74bb: Adding dissector for OIDs used in TCG X.509
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 03 Oct 2018 03:49:52 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0bc74bb7ea51a49ef1d49cb69be94bf98fc53ae4
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0bc74bb by Martin Peylo (wireshark@xxxxxxx):

    Adding dissector for OIDs used in TCG X.509 Certificates
    
    OIDs used in Trusted Computing Group X.509 Certificate Profiles are available in
    https://www.trustedcomputinggroup.org/wp-content/uploads/Credential_Profile_EK_V2.0_R14_published.pdf
    Example Certificates in PEM format are in Appendix A.
    
    The relevant TCG OIDs are mostly used in certificate extensions like:
    - subjectAltName
    - extKeyUsage
    - subjectDirectoryAttributes
    
    Change-Id: Ifd44f598bea0b32b4471dfec2fd3af74f7a9e33e
    Reviewed-on: https://code.wireshark.org/review/29983
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  107205c   wsutil: get_datafile_dir: avoid hard-coded build directory
     add  0bc74bb   Adding dissector for OIDs used in TCG X.509 Certificates


Summary of changes:
 epan/dissectors/CMakeLists.txt                     |    1 +
 epan/dissectors/asn1/CMakeLists.txt                |    1 +
 .../asn1/{rtse => tcg-cp-oids}/CMakeLists.txt      |    4 +-
 .../asn1/tcg-cp-oids/packet-tcg-cp-oids-template.c |  103 ++
 .../asn1/tcg-cp-oids/packet-tcg-cp-oids-template.h |   16 +
 epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.asn   |  294 ++++++
 epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.cnf   |   62 ++
 epan/dissectors/packet-tcg-cp-oids.c               | 1060 ++++++++++++++++++++
 epan/dissectors/packet-tcg-cp-oids.h               |   29 +
 9 files changed, 1568 insertions(+), 2 deletions(-)
 copy epan/dissectors/asn1/{rtse => tcg-cp-oids}/CMakeLists.txt (91%)
 create mode 100644 epan/dissectors/asn1/tcg-cp-oids/packet-tcg-cp-oids-template.c
 create mode 100644 epan/dissectors/asn1/tcg-cp-oids/packet-tcg-cp-oids-template.h
 create mode 100644 epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.asn
 create mode 100644 epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.cnf
 create mode 100644 epan/dissectors/packet-tcg-cp-oids.c
 create mode 100644 epan/dissectors/packet-tcg-cp-oids.h