SHOW Signed

net.rim.device.api.crypto.certificate
Class CertificateDisplayField

java.lang.Object
  |
  +--net.rim.device.api.crypto.certificate.CertificateDisplayField

public class CertificateDisplayField
extends Object

A helper class used with the Certificate.getCustomDisplayFields() method to provide custom information for display certificate fields in a dialog.

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.

Since:
JDE 3.6.0

Constructor Summary
 Category: Signed CertificateDisplayField(Field field)
          Create a CertificateDisplayField object given the actual field to use.
 Category: Signed CertificateDisplayField(String label, String value)
          Create a CertificateDisplayField object given the specified label and value.
 
Method Summary
 Category: Signed  Field getField()
          Returns the field associated with this object if one exists.
 Category: Signed  String getLabel()
          Returns the label associated with the field.
 Category: Signed  String getValue()
          Returns the value associated with the field.
 Category: Signed  boolean isFieldPresent()
          Returns a boolean denoting whether or not a field was used to create this object or whether the label/value pair was used.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateDisplayField

public CertificateDisplayField(String label,
                               String value)
Create a CertificateDisplayField object given the specified label and value.

Parameters:
label - The text label for the field.
value - The text value for the field.
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.

CertificateDisplayField

public CertificateDisplayField(Field field)
Create a CertificateDisplayField object given the actual field to use.
Parameters:
field - the Field to use in representing this display field.
Since:
JDE 4.0.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.
Method Detail

getLabel

public String getLabel()
Returns the label associated with the field.

Returns:
A String representing the label of the field.
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.

getValue

public String getValue()
Returns the value associated with the field.

Returns:
A String representing the value of the field.
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.

getField

public Field getField()
Returns the field associated with this object if one exists.
Since:
JDE 4.0.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.

isFieldPresent

public boolean isFieldPresent()
Returns a boolean denoting whether or not a field was used to create this object or whether the label/value pair was used.
Returns:
true if the field was used to create this object and false otherwise.
Since:
JDE 4.0.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.


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.