| Crypto-J Class Summary |
The following table summarizes the Crypto-J external classes:
| Crypto-J Class | Description |
JSAFE_AsymmetricCipher |
Defines the factory method and API for all asymmetric cipher objects. This is the actual encryption object and it does not perform key management or creation. |
JSAFE_Exception |
Base exception class for Crypto-J. All exceptions thrown by Crypto-J extend this class. |
JSAFE_Key |
Generic key interface. All key objects (symmetric and asymmetric keys) implement
JSAFE_Key. |
JSAFE_KeyAgree |
Defines the factory method and API for the key agreement objects. Currently, Crypto-J only supports Diffie-Hellman key agreement. |
JSAFE_KeyPair |
Holds and generates key pairs for supported asymmetric algorithms. |
JSAFE_MAC |
Provides a framework for Message Authentication Codes (MAC). |
JSAFE_MessageDigest |
Defines the factory method and API for all message digest objects, which are also known as cryptographic hash functions. |
JSAFE_Parameters |
Holds and generates system parameters for those algorithms that require these constructs, such as Diffie-Hellman and
DSA. |
|
JSAFE_PKCS11SessionSpec |
Extends JSASFE_SessionSpec and is the concrete class used to describe how to create a session with a token inserted in a slot of a PKCS #11 compliant hardware device. |
JSAFE_PrivateKey |
Holds asymmetric private keys. |
JSAFE_PublicKey |
Holds asymmetric public keys. |
JSAFE_Recode |
Changes the encoding of data from binary into ASCII characters and vice versa. Currently, Crypto-J supports only Base64 encoding. |
JSAFE_SecretKey |
Holds and generates secret keys for symmetric encryption algorithms. |
JSAFE_SecureRandom |
Defines pseudo-random number generation. JSAFE_SecureRandom extends java.security.SecureRandom so you can use it to replace the Sun classes (or vice versa). |
|
JSAFE_Session |
Allows you to describe how to connect to a PKCS #11 device. |
|
JSAFE_SessionSpec |
Allows you to describe how to create a session with a hardware device. |
JSAFE_Signature |
Defines the factory method and API for all signature algorithm objects. |
JSAFE_SymmetricCipher |
Defines the factory method and API for all symmetric cipher objects. |
Note: Certain public methods in some classes are not documented. These methods occur in the code as placeholders for future versions or to satisfy an interface. They are not meant to be called and could break your code in future versions of Crypto-J if you do call them.