I have developed a Delphi Component - which can transmit secure invoices (and other documents).
It is a Delphi Component which can take a file, encrypt it, sign it, and send it via SMTP to the recipient. The component also handles Public Key distribution automatically without user intervention. The primary file type I use in this system is XML. I use a simple schema, and plan to have an extensible system, similar to OO - where you can create child schemas from an original. In this way we don't have every feature everyone in the world needs in an invoice in a single schema. Basically all invoices will have common XML features, but you will be able to add to the schema for things specific to your company. Perhaps specific industries will develop their own industry invoice schemas, from which they will derrive individual company schemas. I have also developed a email client which uses this component. This way if your client doesn't have a system which uses my component, they can still use the FREE email client, which can be used to view and print invoices. The email client is currently only available in Windows - but I am working towards a Linux version thanks to Kylix. The encryption and signing use public key crypto (RSA) with 2K keys, and AES (256 bit) for the Symetric Key. The file protocol is similar to PGP, but I have sacrificed the flexibility of PGP (ie different algorithms, ability to sign and not encrypt, or encrypt and not sign etc), for a simple system where all messages are always signed and encrypted using a specific set of algorithms. I have created my own little XML parser for dealing with XML. I didn't really want to do this, but for small documents its REALLY fast, and its very easy to write code for it. That doesn't mean you have to use my parser - if you wish you can use any of the XML parsers available. Finally - I am developing the same component/class/libraries in Java and C++ so that a multitude of accounting system developers can make use of this technology. The technology is all Open Source - http://idtrans.sourceforge.net I would appreciate it if you contact be prior to using it, and that any improvements be returned to me so I can incorporate it into future releases. Regards, Peter Harrison PS : If you would rather me email you the code and examples, rather than getting the code using CVS - which can be a pain - contact me direct at [EMAIL PROTECTED] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/