aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cms.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.darkjames1-1/+1
(COPYING will be updated in next commit) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43536 f5534014-38df-0310-8fa8-9805f1628bb7
2012-01-15Rename crypt-xxx to xxxjmayer1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40511 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;wmeier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39427 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.stig1-28/+28
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37118 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-20Add changes in r35546 to template and conformation file.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36010 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-16Use tvb_memeql() and tvb_memcpy().morriss1-10/+10
Use tvb_ip_to_str() and tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure the return string is NULL terminated. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35546 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.morriss1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34227 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-24Rewrote to fetch content_tvb from dissect_ber_octet_string().stig1-27/+16
Display eContent entry (with length) in tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33912 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-11Add a little more code to avoid not-very-useful blurbs:morriss1-12/+12
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32748 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-11Regenerate a few of the ASN.1 dissectorsmorriss1-124/+124
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32742 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-14Register SignedData as a BER syntax dissector.stig1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32459 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <stdio.h> not needed.wmeier1-7/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32405 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-12Update to RFC5652.stig1-38/+120
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31501 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-12Update to RFC3369.stig1-55/+334
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31500 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-11Make all proto_* values static.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30516 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-14/+14
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-16Regenerate all asn2wrs generated dissectors.stig1-14/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28379 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...wmeier1-7/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27390 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-10fix problem with X.411 asn2wrs compilation, all dissectors regeneratedkukosa1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26740 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-01Regenerate all asn2wrs generated dissectorsetxrab1-14/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26670 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-01Regenerated to use the new decode function for UTCTime.stig1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25898 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-22Get rid of some unused code warnings.etxrab1-23/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25796 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-22Get rid of some unused code warnings.etxrab1-34/+16
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25791 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-03Get rid of ber_created_item().etxrab1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24007 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-01Change:etxrab1-3/+3
get_oid_str_name() -> oid_resolved_from_string() get_oid_name() -> oid_resolved_from_encoded() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23331 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-31Use oid_add_from_string for adding names.etxrab1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23318 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-13Regenerate with -X and -T option.etxrab1-562/+298
Should "sha-1 OBJECT IDENTIFIER..." etc be registerd as oid names? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22858 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.clego1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22651 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.jmayer1-2/+2
Rebuild asn1 dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22627 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-17Support for the decryption of EncryptedData which is used by PKCS12gal1-20/+31
Uses the PBE routines from PKCS12. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22535 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.etxrab1-147/+147
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21889 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-15actx in the rest of dissect_ber..()letxrab1-21/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21773 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.etxrab1-361/+392
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21753 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-06Start introducing actx to ber functions.etxrab1-87/+87
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21705 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-03EXTERNAL type is handled in asn2wrs nowkukosa1-1/+1
private implementations were renamed EXTERNAL -> EXTERNALt git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21662 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-23Support for recognising RC4 algorithm.gal1-11/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21151 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵sahlberg1-184/+184
parameters as _U_ to reduce the number of compiler warnings. update some template and cnf files to use _U_ as well git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21088 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-28Support for SMIMECapabilities and KeyPreference attributes.gal1-12/+341
ContentInfo syntax for .p7s, .p7c and .p7m files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20585 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-13New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.gal1-42/+32
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson). Wiki page and sample file to follow. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20416 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-12Move sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.gerald1-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20399 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-02Move epan/crypt-md5.[ch] to epan/crypt. Removegerald1-10/+10
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20277 f5534014-38df-0310-8fa8-9805f1628bb7
2006-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbkukosa1-86/+86
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18921 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-01Include <epan/oid_resolv.h> to declare get_oid_str_name().guy1-7/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18627 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵kukosa1-7/+7
packet-ber.c, they were only OID but not BER related use add_oid_str_name() and get_oid_str_name() instead of them git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18595 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-24- remove some #.MODULE_IMPORT from .cng fileskukosa1-13/+13
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18217 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-10"Field Information" context menu item that will bring up a web page ↵gal1-1/+1
reference to a field type of FT_OID git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18125 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-06Squelch some compiler const vs. non-const warnings.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16710 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-05From Grame Lunt:etxrab1-19/+39
a patch for the X.411, X420 and CMS dissectors to implement the remaining heading extensions and bodyparts. This includes GeneralText BP, forwarded content BP (forwarded p22 and forwarded p772), PKCS#7 BP, and "business class" messaging extensions. The X.411 extensions using the SIGNATURE macro have also been implemented. There is also a fix for a bug in the dissection of integer 22 content type. Graeme git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16689 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-17The SHA-1 routines now take const pointers; don't cast away constness.guy1-6/+4
tvb_get_ptr() returns a "const guint8 *"; don't bother casting its return value to "const guint8 *". "cms_verify_msg_digest()" can be passed a const pointer for "alg"; make its argument a "const char *". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16534 f5534014-38df-0310-8fa8-9805f1628bb7