Java SE Security - Basic
This exam is mainly focused on classes of the java.security and javax.crypto packages.
To pass this exam you will be required to demonstrate correct usage of
- Encryption (symmetric/asymmetric block/stream ciphers).
- How to use digital signatures.
- Message digests.
- Key generation and management.
- Access authorization.
- User or Service authentication.
- Basics of cryptographic algorithms.
- Secure (SSL) sockets and server sockets.
Note: The Java SE Javadoc contains most of the information you need to study this exam.
| Released | Beta | Frozen | ||
|---|---|---|---|---|
Secure Socket Layer (SSL) |
|
|||
Client Side SSL 2 questions
Create new connection as a client and get data from the server using secure sockets:
|
1 | 3 | 0 | |
Server Side SSL 2 questions
Create new connection as a secure server and get data from the client using:
|
0 | 1 | 0 | |
Cryptographic operations |
|
|||
Encryption 2 questionsExplain the difference between:
The Cipher class provides the functionality of a cryptographic cipher used for encryption and decryption. Demonstrate the usage of this class:
Explain the meaning of modes while creating Cipher object:
A simple, secure, stream-based communication object can be created by combining existing InputStream/OutputStreams with Cipher objects. Demonstrate how the stream of data can be encrypted/decrypted using:
|
0 | 32 | 0 | |
Digital signatures 2 questionsThe Signature class is an engine class designed to provide the functionality of a cryptographic digital signature algorithm such as DSA or RSA with MD5. Write code which creates and initializes Signature object. Explain what the three states of Signature class mean:
Demonstrate the usage of methods:
|
0 | 2 | 0 | |
Message digests 2 questionsBe familiar with two of the main digest properties:
Demonstrate the steps which should be taken in order to write code which hashes the message:
|
0 | 6 | 1 | |
Java Authentication and Authorization Service (JAAS) |
|
|||
User Authentication 3 questionsDemonstrate the basic steps which should be taken in order to write code for user authentication:
Explain the role of the CallbackHandler and Callback(s) in the authentication process. Describe the handle method
NB: Specific questions about built-in LoginModules (JndiLoginModule, Krb5LoginModule, KeyStoreLoginModule, NTLoginModule, UnixLoginModule) are Not Covered. Write a JAAS Login Configuration File
Write and review code that uses the above mentioned Interfaces/Classes to implement a user authentication. |
0 | 12 | 0 | |
Access Authorization 3 questionsDemonstrate the basic knowledge about security policy
Display understanding of usage and applications of:
Indicate how to get set of permissions granted to the specified CodeSource
|
0 | 5 | 0 | |
Key Generation and Management |
|
|||
Key Generation 3 questionsExplain the general ways to obtain key(s) using the following objects:
Understand that java.security.Key interface is the top-level interface for all opaque keys and be familiar with methods:
Demonstrate the general knowledge about java.security.Key subinterfaces:
|
0 | 7 | 0 | |
Key Management 3 questionsBe aware that a keystore, which is also called database, can be used to manage a repository of keys and certificates. Demonstrate the knowledge of corresponding KeyStore class which supplies well-defined interfaces to access and modify the information in a keystore. Write code which creates KeyStore object and loads it into memory. Define how to get information from the keystore using methods:
Write code using KeyStore class methods to determine entry type and be able to add/set/delete entry from keystore. Explain how to use two command-line tools associated with KeyStore:
|
0 | 9 | 0 | |
Exam information
- 33 minutes
- 22 questions (79)
- 80% required
- +3 √
- - 12 points
- 15 day delay
- status: beta



: