Wireshark-commits: [Wireshark-commits] master 0142ca4: PKCS10/pkix1explict: adding PKCS#9 OIDs

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Nov 2018 14:55:02 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0142ca4539859055ff3e2f6befffd2a996540537
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0142ca4 by Martin Peylo (wireshark@xxxxxxx):

    PKCS10/pkix1explict: adding PKCS#9 OIDs
    
    Attribute types for use in PKCS #10 certificate requests as specified
    in PKCS#9 / RFC 2985
    
    A CSR including one of the PKCS#9 OIDs, SubjectAltNames within an
    pkcs-9-at-extensionRequest, can be generated with the following OpenSSL command
    line on most Linux systems:
    
    openssl req -new -sha256 -nodes -keyout domain.key \
                -subj "/C=US/ST=CA/O=Acme, Inc./CN=example.com" \
                -reqexts SAN -config \
                <(cat /etc/ssl/openssl.cnf \
                <(printf "\n[SAN]\nsubjectAltName=DNS:example.com,DNS:www.example.com")) \
                -out attr_with_san.csr
    
    Change-Id: I5ae4bd782003c65286bbebf41b96d142e4e99a60
    Reviewed-on: https://code.wireshark.org/review/30600
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  b2c244e   extcap: Allow ASCII '0' in preference name
     add  0142ca4   PKCS10/pkix1explict: adding PKCS#9 OIDs


Summary of changes:
 .../asn1/pkcs10/packet-pkcs10-template.c           |  2 +-
 epan/dissectors/asn1/pkcs10/pkcs10.cnf             |  4 ++++
 .../asn1/pkix1explicit/pkix1explicit.cnf           |  3 +++
 epan/dissectors/packet-pkcs10.c                    | 23 +++++++++++++++++--
 epan/dissectors/packet-pkix1explicit.c             | 26 +++++++++++++++++-----
 5 files changed, 49 insertions(+), 9 deletions(-)