Implements an index to allow you to look up a key store data
object by the issuer name of the certificate in the data blob.
For more information on using a keystore index, see Using the keystore index. This quick tutorial provides overview
information as well as an example on how to use an index within a keystore.
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.
addToIndex(KeyStoreData data,
KeyStoreDataMap dataMap)
Links the KeyStoreData object passed in with a hash of the issuer
from the data object passed in.
int
getHash(Object target)
Returns a hash representing the target object passed in.
long
getID()
Returns a unique ID that represents this index within the key store.
boolean
matches(KeyStoreData data,
Object target)
Determines if the target object ( a DistinguishedName containing an issuer ) matches the
issuer contained within the data object.
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.
Constructor Detail
IssuerKeyStoreIndex
public IssuerKeyStoreIndex()
Creates an IssuerKeyStoreIndex object.
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.
Links the KeyStoreData object passed in with a hash of the issuer
from the data object passed in. The dataMap is used by the key store to find
the appropriate records when doing searches based on this index.
data - The KeyStoreData object containing the issuer.
dataMap - The data map where the link is added.
Since:
JDE 3.6
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.
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.
data - The key store data to compare against the target.
target - A DistinguishedName containing the issuer to compare against the data.
Returns:
true if the key store data object contains the same issuer as the target and
false otherwise
Since:
JDE 3.6
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.
getID
public long getID()
Returns a unique ID that represents this index within the key store.
Following copied from interface: net.rim.device.api.crypto.keystore.KeyStoreIndex
Returns:
A long that is associated with the index.
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.
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved. Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.