|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.crypto.keystore.KeyStoreDataMap
public class KeyStoreDataMap
This class implements the functionality of adding hashes to the key store according to the developers desires for what would be considered as the index or hash of the key store data.
Constructor Summary | ||
---|---|---|
|
KeyStoreDataMap(IntMultiMap map)
Initializes the KeyStoreDataMap with
the int multi map to be used to add items
directly into the keystore. |
Method Summary | ||
---|---|---|
|
void |
add(int hash,
KeyStoreData data)
This method is used to add hashes or aliases to the key store according to the key store data that is passed in. |
|
boolean |
checkHash(int hash)
This is a test method that checks to see if the hash passed in is contained in the int multi map. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStoreDataMap(IntMultiMap map)
KeyStoreDataMap
with
the int multi map to be used to add items
directly into the keystore. This should only be created
by a KeyStore.
map
- The int multi map in the keystore.Method Detail |
---|
public void add(int hash, KeyStoreData data)
hash
- The hash that this key store data
will be associated with.data
- The key store data to associate
with this hash.public boolean checkHash(int hash)
hash
- The specified hash to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.