SHOW Signed
 

net.rim.device.api.crypto.keystore
Class DeviceKeyStore

java.lang.Object
  |
  +--net.rim.device.api.crypto.keystore.RIMKeyStore
        |
        +--net.rim.device.api.crypto.keystore.PersistableRIMKeyStore
              |
              +--net.rim.device.api.crypto.keystore.SyncableRIMKeyStore
                    |
                    +--net.rim.device.api.crypto.keystore.DeviceKeyStore
All Implemented Interfaces:
Collection, CollectionEventSource, KeyStore

public final class DeviceKeyStore
extends SyncableRIMKeyStore

The device key store is a key store which has the ability to sync with the desktop software.

There is a program called CertSync that runs in the desktop software which allows for people to modify the contents of this keystore. It is important to note that any changes done on the desktop will be reflected here and any changes done here (on the device) will be reflected on the desktop.

For sample code on how to use a key store see: here

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Since:
JDE 3.6.0

Field Summary
 
Fields inherited from class net.rim.device.api.crypto.keystore.PersistableRIMKeyStore
_persist
 
Fields inherited from interface net.rim.device.api.crypto.keystore.KeyStore
SECURITY_LEVEL_HIGH, SECURITY_LEVEL_LOW, SECURITY_LEVEL_MEDIUM, SECURITY_LEVEL_NOT_APPLICABLE
 
Method Summary
 Category: Signed static KeyStore getInstance()
          Returns a reference to the current desktop key store.
 Category: Signed  String getName()
          Returns the localised string representing this key store name for the Device Key Store.
 
Methods inherited from class net.rim.device.api.crypto.keystore.SyncableRIMKeyStore
checkTicket, getTicket, getTicket, set
 
Methods inherited from class net.rim.device.api.crypto.keystore.PersistableRIMKeyStore
addIndex, changePassword, removeIndex, removeKey
 
Methods inherited from class net.rim.device.api.crypto.keystore.RIMKeyStore
addCollectionListener, addIndices, deleteKey, elements, elements, elements, elements, elements, elements, exists, existsIndex, getBackingKeyStore, isMember, isMember, isMember, isMember, removeCollectionListener, set, set, set, set, set, set, set, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static KeyStore getInstance()
Returns a reference to the current desktop key store.

Note that any changes to this key store will be saved to the database and that this is the _only_ desktop keystore.

Returns:
The key store.
Since:
JDE 3.6.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

getName

public String getName()
Returns the localised string representing this key store name for the Device Key Store. In English it would return "Handheld Key Store".
Overrides:
getName in class RIMKeyStore
Returns:
the localised name for the Device Key Store.
Since:
JDE 3.7.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.



Copyright 1999-2009 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.