Commit Graph
430 Commits
Author SHA1 Message Date
Andreas Steffen e8bfe74289 extended and debugged PKCS#7 signedData support 2008-02-01 14:19:26 +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 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
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 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 5f854d7f95 added strneq(x,y,len) macro 2007-10-07 13:35:42 +00:00
Martin Willi 493f377b41 fixed memory leak 2007-10-04 15:20:00 +00:00
Martin Willi c96aefe268 implemented an optional DH public value test
some other cleanups, using RFC2631 variable names
2007-10-04 15:19:24 +00:00
Martin Willi 40f10fd88e cleanups, fixes and simplification of diffie hellman code 2007-10-04 12:08:11 +00:00
Andreas Steffen dee4d8d7d6 added all required includes 2007-09-18 20:49:05 +00:00
Andreas Steffen b4979ff724 removed some empty lines 2007-09-18 11:23:52 +00:00
Andreas Steffen 15a9d460c0 peer_cfg now knows about group memberships 2007-09-13 15:33:17 +00:00
Andreas Steffen 064cbe5d36 removed unused LARGEST_HASH_OID_SIZE definition 2007-09-13 06:26:57 +00:00
Andreas Steffen b5816842f9 replaced 8 by BITS_PER_BYTE 2007-09-12 09:19:59 +00:00
Andreas Steffen ba02f63eb1 error message outputs hash size differences 2007-09-12 08:02:41 +00:00
Andreas Steffen ad63d68aa9 renamed encoded_hash to digestInfo 2007-09-12 08:01:59 +00:00
Andreas Steffen f7cce7e33a included pem.h and x509.h; fixed comparison bug 2007-09-12 07:56:00 +00:00
Martin Willi f25156dfc3 fixed warnings and memory leak 2007-09-12 07:11:41 +00:00
Andreas Steffen 8b373ee6fc added error messages in signature verification 2007-09-12 07:06:52 +00:00
Andreas Steffen e5f33737ab check for surplus bytes in EM structure after the digestInfo 2007-09-11 20:45:59 +00:00
Andreas Steffen 2f9f5149c4 check hash algorithms used in signatures 2007-09-11 20:10:38 +00:00
Andreas Steffen dd968b9b20 OID_UNKNOWN (-1) requires int type 2007-09-11 17:33:37 +00:00