File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes A security question from Javacoding Mock Exam. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "A security question from Javacoding Mock Exam." Watch "A security question from Javacoding Mock Exam." New topic
Author

A security question from Javacoding Mock Exam.

Leo Liao
Greenhorn

Joined: Jun 20, 2003
Posts: 15
Which can be used for encryption?
1)X.509
2)Private key
3)Public key
4)Session key
5)Digital certificate
6)Message Digest
sowmya thiru
Greenhorn

Joined: Jun 09, 2003
Posts: 19
not 1 5, 3
private key is used of encription
Jim Bedenbaugh
Ranch Hand

Joined: Nov 09, 2001
Posts: 171
Originally posted by Leo Liao:
Which can be used for encryption?
1)X.509
2)Private key
3)Public key
4)Session key
5)Digital certificate
6)Message Digest


Correct answers are Private key, Public key and Session key. See defintions below.
X.509
An internationally recognized standard for certificates that defines their required parts.

private key
The secret half of a key pair used in a public key algorithm. Private keys are typically used to encrypt a symmetric session key, digitally sign a message, or decrypt a message that has been encrypted with the corresponding public key.
public key
A cryptographic key typically used when decrypting a session key or a digital signature. The public key can also be used to encrypt a message, guaranteeing that only the person with the corresponding private key can decrypt the message.
session key
A randomly-generated key that is used one time, then discarded. Session keys are symmetric (used for both encryption and decryption). They are sent with the message, protected by encryption with a public key from the intended recipient.
digital certificate
A digitally signed statement that contains information about an entity and the entity's public key, thus binding these two pieces of information together. A certificate is issued by a trusted organization (or entity) called a certification authority (CA) after the CA has verified that the entity is who it says it is.
Certificates can contain different types of data. For example, an X.509 certificate includes the format of the certificate, the serial number of the certificate, the algorithm used to sign the certificate, the name of the CA that issued the certificate, the name and public key of the entity requesting the certificate, and the CA's signature.
Message digest
A fixed-size result obtained by applying a mathematical function (the hashing algorithm) to an arbitrary amount of data.


Regards,
Jim
SCJP, SCJD, SCWCD, SCEA Part I
 
 
subject: A security question from Javacoding Mock Exam.
 
Similar Threads
I'm lost, need help figuring what todo?
Game on SQL
WA #1.....word association
Another 'Y' game
Primary key and update method strange issue