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

java.lang.Object
  extended by 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 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:
BlackBerry API 3.6.0

Constructor Summary
Category: Signed CertificateDisplayField(String label, String value)
          Create a CertificateDisplayField object given the specified label and value.
Category: Signed CertificateDisplayField(Field field)
          Create a CertificateDisplayField object given the actual field to use.
 
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.
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:
BlackBerry API 3.6.0

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.
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:
BlackBerry API 4.0.0


Method Detail

getLabel

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

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

getValue

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

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

getField

public Field getField()
Returns the field associated with this object if one exists.

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:
BlackBerry API 4.0.0

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.
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:
BlackBerry API 4.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal