|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.device.api.crypto.certificate.CertificateServerInfo
This class represents the objects that are currently stored in the SyncCollection and contains a server, type of server and uid for the record.
| Constructor Summary | ||
|
CertificateServerInfo(String server,
int type,
String friendlyName,
int uid)
Creates a new CertificateServerInfo object. |
|
|
CertificateServerInfo(String server,
int type,
String friendlyName,
String baseQuery,
int port,
int uid)
Creates a new CertificateServerInfo object.
|
|
| Method Summary | ||
|
static void |
display(CertificateServerInfo serverInfo)
Blocks and displays a dialog box containing information about the specified server. |
|
boolean |
equals(Object obj)
Returns true if obj is equal to the
existing object. |
|
String |
getBaseQuery()
Returns the base query of the server. |
|
String |
getFriendlyName()
Returns the friendly name of the server. |
|
int |
getPort()
Returns the port number of the server. |
|
String |
getServer()
Returns a String containing the URL of the server. |
|
int |
getType()
Returns the type of the server. |
|
int |
getUID()
Returns the unique ID of the server. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CertificateServerInfo(String server, int type, String friendlyName, int uid)
CertificateServerInfo object. Sets the base query to be
null and the port to be 0.
server - A String representing the URL of the server. It is important to note that the
server parameter must be a proper URL or an exception may be thrown when calling display.type - An integer representing the type of the object. The currently defined types
are: CertificateServers.LDAP_SERVER, CertificateServers.OCSP_SERVER and CertificateServers.CRL_SERVER.friendlyName - A String representing the friendly name of the server.uid - A unique ID for the record.public CertificateServerInfo(String server, int type, String friendlyName, String baseQuery, int port, int uid)
CertificateServerInfo object.
server - A String representing the URL of the server. It is important to note that the
server parameter must be a proper URL or an exception may be thrown when calling display.type - An integer representing the type of the object. The currently defined types
are: CertificateServers.LDAP_SERVER, CertificateServers.OCSP_SERVER and CertificateServers.CRL_SERVER.friendlyName - A String representing the friendly name of the server.baseQuery - A String containing the base query of the server.port - An integer representing the port number of the server.uid - A unique ID for the record.| Method Detail |
public String getServer()
public int getUID()
getUID in interface SyncObjectpublic int getType()
public String getFriendlyName()
public String getBaseQuery()
public int getPort()
public static void display(CertificateServerInfo serverInfo)
serverInfo - The server about which information is to be displayed.public boolean equals(Object obj)
obj is equal to the
existing object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.