18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

296 <strong>B2B</strong> <strong>Integration</strong> — A <strong>Practical</strong> <strong>Guide</strong> <strong>to</strong> <strong>Collaborative</strong> E-<strong>commerce</strong><br />

Session Key<br />

^<br />

Secret<br />

Message Encryption<br />

t) with<br />

CompanYA Session Key<br />

Figure 10.4.<br />

*ds-~ y<br />

Cipher<br />

Text Decryption<br />

with<br />

Secret<br />

Message<br />

Session Key Company B<br />

Digital envelope<br />

10.6.4. Best of both worlds — The digital envelope<br />

By combining private and public key encryption, we get best of both<br />

worlds, the digital envelope.<br />

Consider again a case of Company A wanting <strong>to</strong> communicate with<br />

Company B. Company A generates a random private key for the<br />

communication session. This random private key is called a session key<br />

since it will be used only for this particular session. The session key is<br />

encrypted with the public key of Company B and sent <strong>to</strong> it. Company B<br />

gets the session key securely, using its private key <strong>to</strong> understand the<br />

message. Figuratively, the session key is sent in a secure envelope<br />

formed by public key encryption (see Figure 10.4).<br />

Once the session key is established between the two companies, the<br />

subsequent communication, based on private key encryption, can be<br />

made using the session key on both sides. This part of communication<br />

is much faster due <strong>to</strong> decreased overhead.<br />

Using a digital envelope, the same level of privacy is achieved as<br />

public key encryption with better performance of the application.<br />

10.6.5. Digital signature<br />

Digital signature is the electronic equivalent of a pen-and-paper signature<br />

and is used for authenticating the sender of the message. It provides<br />

a means by which information cannot be repudiated by binding

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!