aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cms
AgeCommit message (Collapse)AuthorFilesLines
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-2/+2
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-08-17Support for the decryption of EncryptedData which is used by PKCS12Graeme Lunt3-4/+15
Uses the PBE routines from PKCS12. svn path=/trunk/; revision=22535
2007-06-05not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 typesTomas Kukosa1-1/+1
it makes interconnection between .cnf file and ASN.1 source more readable (changes for #.FN_BODY will follow) svn path=/trunk/; revision=22043
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-19/+20
svn path=/trunk/; revision=21753
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-1/+1
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-03-23Support for recognising RC4 algorithm.Graeme Lunt1-0/+4
svn path=/trunk/; revision=21151
2007-01-28Support for SMIMECapabilities and KeyPreference attributes.Graeme Lunt3-14/+85
ContentInfo syntax for .p7s, .p7c and .p7m files. svn path=/trunk/; revision=20585
2007-01-13New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.Graeme Lunt3-6/+23
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson). Wiki page and sample file to follow. svn path=/trunk/; revision=20416
2007-01-12Move sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.Gerald Combs1-1/+1
svn path=/trunk/; revision=20399
2007-01-02Move epan/crypt-md5.[ch] to epan/crypt. RemoveGerald Combs1-6/+6
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace. svn path=/trunk/; revision=20277
2006-10-29put every python script name into "" so the call won't fail on Win32 native ↵Ulf Lamping1-1/+1
python. The problem is the slash in e.g.: @$(PYTHON) ../../tools/make-dissector-reg.py is interpreted as an option instead of being part of the path. I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port. svn path=/trunk/; revision=19730
2006-07-01Include <epan/oid_resolv.h> to declare get_oid_str_name().Guy Harris2-1/+2
svn path=/trunk/; revision=18627
2006-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵Tomas Kukosa1-1/+1
packet-ber.c, they were only OID but not BER related use add_oid_str_name() and get_oid_str_name() instead of them svn path=/trunk/; revision=18595
2006-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-4/+0
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs svn path=/trunk/; revision=18217
2006-05-23Ethereal -> WiresharkTomas Kukosa3-2/+11
asn2eth -> asn2wrs svn path=/trunk/; revision=18214
2006-05-21- asn2eth renamed to asn2wrsTomas Kukosa2-5/+5
- remove obsolete -X option from makefiles - not generate enumerated map table for BER dissector will be regenerated later svn path=/trunk/; revision=18199
2006-05-21name changeRonnie Sahlberg2-4/+4
svn path=/trunk/; revision=18197
2006-05-10"Field Information" context menu item that will bring up a web page ↵Graeme Lunt1-1/+1
reference to a field type of FT_OID svn path=/trunk/; revision=18125
2006-04-25Add distclean and maintainerclean rules.Guy Harris1-0/+4
svn path=/trunk/; revision=17999
2006-02-23Add parsertab.pyc in clean targetAnders Broman1-1/+1
svn path=/trunk/; revision=17386
2005-12-06Squelch some compiler const vs. non-const warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=16710
2005-12-05From Grame Lunt:Anders Broman2-1/+3
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 svn path=/trunk/; revision=16689
2005-11-17The SHA-1 routines now take const pointers; don't cast away constness.Guy Harris1-5/+3
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 *". svn path=/trunk/; revision=16534
2005-11-16From Graeme Lunt:Anders Broman3-6/+116
Here are a number of small patches for asn1 based dissectors: acse: release request/response column information (many X.400/X.500 unbinds are empty) "standardised" PNAME to "ISO 8650-1 OSI Association Control Service" fix for crash when using EXTERNAL dissector rtse: column information when attempting a resume x509if: generation of LDAP-style DNs from RDNSequences new function x509if_get_last_dn() to get the last DN generated. x509af: DSS parameters certificate extension naming subject naming of certificate x509sat: Guide syntax (as SET now supported) PDU exports. cms: verification of message digest attribute (SHA-1 and MD5) ess: enumerated/restrictive/permissive/informative security categories x411: generation of string encoding of X.400 addresses, trace information and message identifiers. s4406: separate types for primary and copy precedence to allow better filtering (e.g. primary precedence = flash) priority-level-qualifier svn path=/trunk/; revision=16508
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa2-12/+9
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-10-03From Graeme LuntAnders Broman2-10/+24
X420 - incorrect ExtendedBodyPart handling ACSE - support for implicitly tagged EXTERNALs and dissection based upon direct-reference RTSE - same change for RTSE EXTERNAL handling as above CMS - support for ContentType, MessageDigest, SigningTime and CounterSignature attributes ESS - support for ESSSecurityLabel and EquivalentLabels attributes svn path=/trunk/; revision=16071
2005-10-02From Graeme LuntAnders Broman1-0/+1
allows the dissection of ContentInfo based upon it's OID - something that is used for a secure X.400 messages (Protecting Content Type (PCT)). svn path=/trunk/; revision=16069
2005-09-07Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in orderGerald Combs1-2/+2
to fix compilation under Windows NT. This should fix bug 403. The changes were made using "find . -name Makefile.nmake | xargs perl -pi.bak -e 's: /y::i'". They appear to work under XP, but if anything broke I blame Larry Wall. svn path=/trunk/; revision=15710
2005-09-02Regenerate dissectors with the current asn2eth.Guy Harris1-1/+1
svn path=/trunk/; revision=15664
2005-07-21change the symbol dissect_ber_CHOICE back into dissect_ber_choiceRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=14980
2005-07-09Fix up a bunch of arguments to "dissect_ber_identifier()" to match itsGuy Harris1-2/+3
current signature ("class" is a "gint8 *", not a "guint8 *", and "tag" is a "gint32 *", not a "guint32 *"). Re-generate the dissectors from the ASN.1 and the .cnf files in the cases where the arguments were fixed in a .cnf file. Give some dissectors the right svn:keywords and svn:eol-style settings. svn path=/trunk/; revision=14885
2005-04-22Define a maximum OID string length, and use it in a lot of places. Fixes aGerald Combs1-1/+1
buffer overflow found while fuzz testing. svn path=/trunk/; revision=14169
2005-04-20Add a tree parameter to get_ber_length() so thatRonnie Sahlberg1-1/+1
IF the length seems bogus, like longer than the reported tvb_length we add a helpful text item to the tree and generate a [malformed packet] change all callers of get_ber_length to the new signature. svn path=/trunk/; revision=14145
2005-02-23update asn2eth and all generated dissectors to new dissect_ber_boolean that ↵Ronnie Sahlberg1-1/+1
takes a implicit_tag parameter svn path=/trunk/; revision=13479
2005-01-16When using Cygwin's python asn2eth.pyLars Roland1-6/+25
generates dissectors with mixed EOL! SVN doesn't allow you to commit such files. Add a target to all nmake makefiles in asn1 subdirectory which will fix these files. svn path=/trunk/; revision=13077
2005-01-16Supply Makefile.nmake files.Guy Harris1-0/+23
svn path=/trunk/; revision=13072
2005-01-16Make the Makefile look like the h235 Makefiles, with the new rules.Guy Harris1-2/+13
Get rid of their "executable" property, and set svn:keywords to Id and svn:eol-style to native if they're not already set. svn path=/trunk/; revision=13071
2004-12-24export EnvelopedDataRonnie Sahlberg2-0/+3
svn path=/trunk/; revision=12824
2004-12-13update of the asn2eth compiler to use the types ber_[choice|sequence]_t ↵Ronnie Sahlberg4-1/+7
instead of ber_[choice|sequence] regenerated all dissectors fixed the choice/sequence struct to use unsigned entities for class and tag (to reduce some compiler warning and because it should be signed quantities) svn path=/trunk/; revision=12740
2004-12-12updates from tomas and andersRonnie Sahlberg1-4/+4
create some missing makefiles for autogenerated dissectors finish the transition to the new ber integer dissetor helper signature and regenerate all ber dissectors svn path=/trunk/; revision=12724
2004-11-22New protocol: RFC2634 ExtendedSecurityServicesRonnie Sahlberg6-22/+46
updates to cms to accomodate the new protocol add author to some files svn path=/trunk/; revision=12573
2004-11-21cleanup for x509afRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=12558
2004-11-21update to x509if autogenerate the exports conformance file and create a ↵Ronnie Sahlberg1-1/+1
small makefile since i am tired of typing that long command line every time svn path=/trunk/; revision=12555
2004-11-06make CMS use the new ANY type and get rid of the workaroundRonnie Sahlberg3-11/+2
svn path=/trunk/; revision=12491
2004-10-29update to cms to use workaround to lack of ANY and reducing the template ↵Ronnie Sahlberg5-135/+49
significantly svn path=/trunk/; revision=12434
2004-10-28Add support for pkauthdata and pkdhkeydata OIDs.Gerald Combs4-8/+59
svn path=/trunk/; revision=12426
2004-10-27Turn off execute permission on .asn files.Guy Harris1-0/+0
svn path=/trunk/; revision=12418
2004-10-26 use the nice #.REGISTER directive instead of handcoding it in teh templateRonnie Sahlberg2-36/+8
svn path=/trunk/; revision=12394
2004-10-13get rid of some compiler warnings for cmsRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=12290
2004-10-08Make the ber_sequence tables "const".Guy Harris1-2/+2
svn path=/trunk/; revision=12245