Commit Graph
343 Commits
Author SHA1 Message Date
Andreas Steffen 298c9c8eed some websites append a newline character to a DER-encoded binary blob 2008-02-05 19:27:05 +00:00
Andreas Steffen b388a81848 fixed tabs 2008-02-04 14:45:50 +00:00
Andreas Steffen 0730fec464 refactored optionsfrom as in an object-oriented way using the options_t class. Eliminated all memory leaks 2008-02-04 14:44:14 +00:00
Andreas Steffen 9514d26c5c parse signedData object with empty content 2008-02-02 00:29:03 +00:00
Andreas Steffen f4a459473e build_signedData() now computes messageDigest attribute 2008-02-01 22:26:01 +00:00
Andreas Steffen 7734c01677 added set_messageDigest() and get_messageDigest() methods 2008-02-01 22:24:51 +00:00
Andreas Steffen e8bfe74289 extended and debugged PKCS#7 signedData support 2008-02-01 14:19:26 +00:00
Andreas Steffen daccbee77e added S/MIME capabilities OID 2008-02-01 10:40:03 +00:00
Andreas Steffen 26e9e2ecd9 changed tabs to 4 spaces 2008-02-01 01:01:17 +00:00
Andreas Steffen 5862981ce9 fixed comment 2008-01-27 20:59:22 +00:00
Andreas Steffen f19628490c implemented pkcs1_encrypt() 2008-01-27 20:58:52 +00:00
Andreas Steffen 5bb8fcc074 added RCSID 2008-01-22 10:52:26 +00:00
Andreas Steffen 2e3d4743d3 added md2WithRSA algorithm identifier 2008-01-22 10:52:03 +00:00
Andreas Steffen cd543a69a2 extended asn1_algorithmIdentifier() to SHA-2 2008-01-22 10:32:37 +00:00
Andreas Steffen 2d49eaa131 x509_t.build_encoding() now supports any hash algorithm 2008-01-22 01:32:12 +00:00
Andreas Steffen a7419b07d1 fully implemented x509_create() 2008-01-22 01:09:19 +00:00
Andreas Steffen c8b6375c5c fixed destruction of generalNames linked list 2008-01-21 22:56:58 +00:00
Andreas Steffen 0be06e472a fixed parsing and building of generalNames 2008-01-21 10:00:13 +00:00
Andreas Steffen 55dbc3fd7b implemented rsa_private_key_t.get_public_key() 2008-01-21 00:36:38 +00:00
Andreas Steffen b5d8c9779a added rsa_public_key_create(mpz_t n, mpz_t e) 2008-01-21 00:34:41 +00:00
Andreas Steffen d349a3d11a added notBefore and notAfter to x509_create() 2008-01-21 00:30:26 +00:00
Andreas Steffen 35b2b1e334 fixed error in the ordering of the certinfo_t records in the ocsp cache that caused multiple entries of the same serial number to be created. This was caused by the iterator_t method insert_after() that inserts a record in the first instead of the last position of a linked list if the end of the list is reached. Fix: use linked_list_t method insert_last() instead. 2007-12-12 20:25:50 +00:00
Martin Willi ee61471113 implemented RFC4478 (repeated authentication)
changed %V printf handler to take a time delta, %#V now takes two arguments
2007-11-20 12:06:40 +00:00
Martin Willi e533b928f0 fixed memrchr compiler warning 2007-11-19 12:27:08 +00:00
Andreas Steffen b073aada23 search : delimiter in ipsec.secrets entries from the rear 2007-11-16 20:23:29 +00:00
Andreas Steffen 6d8bec0b97 corrected typos 2007-10-17 02:56:24 +00:00
Andreas Steffen 57423bb7ac corrected brief 2007-10-17 02:55:53 +00:00
Andreas Steffen f39e4d3209 added hasher_signature_algorithm_to_oid() function 2007-10-12 23:18:42 +00:00
Andreas Steffen bad1a23f02 added get_publicKeyInfo() method 2007-10-12 22:49:39 +00:00
Andreas Steffen 0fa2c4fada added create_certificate_iterator() method 2007-10-12 21:57:20 +00:00
Andreas Steffen 92a0b9d5ec added x509_build_generalNames() and x509_build_subjectAltNames() functions 2007-10-12 21:56:30 +00:00
Andreas Steffen 340376e316 added x509_ prefix to imported parse functions 2007-10-12 21:53:18 +00:00
Andreas Steffen aa57b221e3 added RCSID 2007-10-12 19:29:00 +00:00
Andreas Steffen 466c5439e5 cosmetics 2007-10-12 19:20:59 +00:00
Andreas Steffen 3edea3497f implemented pkcs1_write() method 2007-10-12 15:23:29 +00:00
Andreas Steffen dba89b1bb7 added x509_create() synthesis function 2007-10-11 14:39:40 +00:00
Andreas Steffen a09bbc82ce added get_data() method 2007-10-11 14:38:46 +00:00
Andreas Steffen 86150b684d call get_keysize with const rsa_private_key_t* 2007-10-11 11:36:37 +00:00
Andreas Steffen 5ff927425f cosmetics 2007-10-11 11:26:20 +00:00
Andreas Steffen b61e95a659 renamed eme_pkcs1_decrypt() to pkcs1_decrypt() 2007-10-11 11:25:52 +00:00
Andreas Steffen c5d0c18149 corrected brief 2007-10-08 21:25:44 +00:00
Andreas Steffen de63a765ef increase debug level from 1 to 2 2007-10-08 19:36:42 +00:00
Andreas Steffen 06ba2d36c3 completed pkcs7 parsing methods 2007-10-07 22:11:42 +00:00
Andreas Steffen 2d8a418059 added eme_pkcs1_decrypt() method 2007-10-07 21:43:24 +00:00
Andreas Steffen e1513577fb added error message in case of incorrect padding 2007-10-07 21:42:38 +00:00
Andreas Steffen 2f5199ec48 added RCSID 2007-10-07 21:41:37 +00:00
Andreas Steffen 27e715cb06 replaced strncmp() == 0 by strneq() 2007-10-07 13:42:43 +00:00
Andreas Steffen 5f854d7f95 added strneq(x,y,len) macro 2007-10-07 13:35:42 +00:00
Andreas Steffen 3f76aebe74 cosmetics 2007-10-07 09:17:59 +00:00
Martin Willi 493f377b41 fixed memory leak 2007-10-04 15:20:00 +00:00