| RSA BSAFE CRYPTO-J |
Cryptographic Components for Java |
| JSAFE Javadoc | JCE Javadoc | Search |
JSAFE_Key class is the generic key interface.
All key objects implement this class, including both symmetric and asymmetric keys. See Overview of Crypto-J for background and reference material on using and understanding Crypto-J.
Copyright © RSA Security Inc., 1997-2005. All rights reserved.
Inheritance diagram for JSAFE_Key:

Public Methods | |
| String JSAFE_Key:: | getDevice () |
| Returns the name of the device of record. More... | |
| String JSAFE_Key:: | getAlgorithm () |
| Returns the standard name for the algorithm. More... | |
| int JSAFE_Key:: | getMaximumKeyLength () |
| Gets the maximum number of bits this key is allowed to have. More... | |
| int JSAFE_Key:: | getMinimumKeyLength () |
| Gets the minimum number of bits this key is allowed to have. More... | |
| String [] JSAFE_Key:: | getSupportedGetFormats () |
| Gets the formats in which this key can return the data. More... | |
| String [] JSAFE_Key:: | getSupportedSetFormats () |
| Gets the formats with which this key may be set. More... | |
| String JSAFE_Key:: | getKeyWrappingFormat (boolean ber) |
| Returns the name of the format to use when getting the data for key wrapping. More... | |
| byte [][] JSAFE_Key:: | getKeyData () |
| Gets the key data from the object and returns it in the default format. More... | |
| void JSAFE_Key:: | clearSensitiveData () |
| This method clears sensitive data from an object. More... | |
|
|
This method clears sensitive data from an object. Although the finalizer clears the data, there is no guarantee the garbage collector will quickly call the finalizer. Allows a user to clear data as soon as possible. After calling Implemented in JSAFE_PrivateKey. |
|
|
Returns the standard name for the algorithm.
Implemented in JSAFE_PrivateKey. |
|
|
Returns the name of the device of record. Possible device values are:
Implemented in JSAFE_PrivateKey. |
|
|
Gets the key data from the object and returns it in the default format.
Implemented in JSAFE_SecretKey. |
|
|
Returns the name of the format to use when getting the data for key wrapping. Use
Implemented in JSAFE_PrivateKey. |
|
|
Gets the maximum number of bits this key is allowed to have.
Implemented in JSAFE_SecretKey. |
|
|
Gets the minimum number of bits this key is allowed to have.
Implemented in JSAFE_SecretKey. |
|
|
Gets the formats in which this key can return the data. This method returns a
Implemented in JSAFE_SecretKey. |
|
|
Gets the formats with which this key may be set. Returns a
Implemented in JSAFE_SecretKey. |