A persistable version of the rim key store that provides the functionality
required to persist the rim key store.
For sample code on how to use a key store see:
here
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
_persist
The persistent store object that we use to store and retrieve the hash table containing
the certificates and keys from the memory of the device.
Fields inherited from interface net.rim.device.api.crypto.keystore.KeyStore
The persistent store object that we use to store and retrieve the hash table containing
the certificates and keys from the memory of the device.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
This constructor initializes the hashtable
and ensures that the hashtable is persisted correctly on the device.
Parameters:
name - An identifying name for the keystore that can be displayed to the user.
id - A unique long identifying the hashtable that will be persisted underneath
the key store. It is imperative that this is unique since you will overwrite someone
elses storage if this is identical to another long passed in. So, you should use your class
name or something unique to denote this keystore.
key - a CodeSigningKey which can be used to prevent unauthorized access to your keystore.
factory - The factory used to create the key store.
Throws:
KeyStoreRegisterException - thrown when there is an error registering this
class with the KeyStoreManager which is typically caused by one of three exceptions
being thrown in that method (ClassNotFoundException, InstantiationException, IllegalAccessException).
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
This constructor allows one to construct a keystore given
another key store. It is like daisy chaining the keystores together.
That is, if a key cannot be found in this key store, you can go to the
next keystore in an attempt to find it.
Parameters:
name - An identifying name for the keystore that can be displayed to the user.
id - A long representing which key store this is. It has to be unique.
key - a CodeSigningKey which can be used to prevent unauthorized access to your keystore.
factory - The factory used to create the key store.
keyStore - The secondary key store to search through for data.
Throws:
KeyStoreRegisterException - thrown when there is an error registering this
class with the KeyStoreManager which is typically caused by one of three exceptions
being thrown in that method (ClassNotFoundException, InstantiationException, IllegalAccessException).
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Removes this key store data from the key store
and ensures that any links to this object are removed
from the key store.
Note: This does not affect the underlying keystore.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Adds an index to all of the information currently in
the key store. This now enables the developer to access
information in the key store according to this new alias field.
Note: This does not add the index to the underlying keystore.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Removes the index from the key store and ensures that the aliases
used to index key store information regarding this Index class
will be removed.
Note: This does not remove the index from the underlying keystore.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Changes the password for the underlying private keys in each of the
KeystoreData classes and should NOT be called directly. It should only be
called by the KeyStoreManager. If this method is called it will cause the
keystore to enter into a weird state and will disable its use.
If you are designing your own keystore this method should be implemented to
call changePassword on each of the KeyStoreData items in the
keystore.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved. Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. Copyright 2002-2003 Nokia Corporation All Rights Reserved. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.