Commit Graph

5 Commits

Author SHA1 Message Date
e86a28e484 Numerous fixes to get it to compile.
2001-05-31  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c: Numerous fixes to get it to compile.

svn path=/trunk/; revision=10073
2001-05-31 22:30:06 +00:00
fb099f5619 New virtual class for manipulating cryptographic message syntax messages
2001-05-31  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-cms-context.[c,h]: New virtual class for manipulating
	cryptographic message syntax messages (like S/MIME).

	* camel-smime-context.[c,h]: Modified to inherit from the
	CamelCMSContext class rather than the CamelCipherContext class.

	* camel-smime.[c,h]: Removed - just use camel-smime-context
	directly.

	* camel-smime-utils.[c,h]: New source files. Moved the 2 useful
	functions from camel-smime.[c,h] into here.

svn path=/trunk/; revision=10065
2001-05-31 20:15:35 +00:00
ae9d99bda3 We don't need to be passed the certdb path anymore.
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c (camel_smime_context_new): We don't need
	to be passed the certdb path anymore.

svn path=/trunk/; revision=9855
2001-05-16 21:23:20 +00:00
2798919c3c Lots of fixes to get this to almost compile. Still struggling with the
2001-05-14  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c: Lots of fixes to get this to almost
	compile. Still struggling with the fact that CERTCertDBHandle is
	an "incomplete type". *sigh*.

	* camel-smime.c (camel_smime_part_verify): Updated to pass in a
	hash argument to camel_smime_verify().

	* camel-pgp-mime.c (camel_pgp_mime_part_verify): Update according
	to the changes in the context API.

	* camel-pgp-context.c (pgp_verify): Updated to take a
	CamelCipherHash argument.

	* camel-cipher-context.c (camel_cipher_verify): Now takes a hash
	argument since the S/MIME code needs this.

svn path=/trunk/; revision=9804
2001-05-14 22:25:02 +00:00
986252ceaf Implemented using the secmime.h convenience functions. (smime_clearsign):
2001-04-20  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c (smime_sign): Implemented using the
	secmime.h convenience functions.
	(smime_clearsign): We just error our here, there is no clearsign
	for smime.
	(smime_verify): Copied code over from the pkcs7 verify - same
	state, ugly and unknown :-)
	(smime_encrypt): Implemented using the secmime.h convenience
	functions.
	(smime_decrypt): Same as the code in pkcs7-context.

svn path=/trunk/; revision=9480
2001-04-20 21:21:34 +00:00