Concept Classes
The java.security
and
javax.crypto
packages have classes and interfaces
that represent the cryptographic concepts that were introduced in
Chapter 2. Table 3.2
summarizes the cryptographic
concepts represented in the classes included in JDK 1.2 and JCE 1.2.
Class or Interface |
Description |
|
A cryptographic certificate |
|
A cipher |
|
A key, used for signing or encryption |
|
A secret key exchange protocol |
|
Translates public and private keys from one format to another |
|
Creates keys for symmetric ciphers |
|
Creates pairs of public and private keys for signing or encryption |
|
A Message Authentication Code (MAC) |
|
A cryptographic hash function |
|
Translates secret keys from one format to another |
|
A cryptographically strong random number engine |
|
A digital signature |
Get Java Cryptography now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.