This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Security and the fly likes Usage of public key while digitally signning document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Usage of public key while digitally signning document" Watch "Usage of public key while digitally signning document" New topic
Author

Usage of public key while digitally signning document

Jahnvi Vyas
Ranch Hand

Joined: May 03, 2006
Posts: 36
Hi

At a time of receiving digitally signed document it is decrypted with sender's public key. But how receiver knows that public key?? Does it(public key) go along with digitally signed document?? If so then how to extract it at destination??


Thanks.

Jahnvi
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41586
    
  54
You don't mention in which context you're concerned about this, but generally the key is not sent automatically along with the document. The receiver needs to get hold of it by some other means. Many people keep the public key on their web site, so if you get an encrypted email from them, that might be where you get the key.


Ping & DNS - my free Android networking tools app
Jahnvi Vyas
Ranch Hand

Joined: May 03, 2006
Posts: 36
Thanks Ulf.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Usage of public key while digitally signning document