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 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
Method Summary |
|
Field |
getField()
Returns the field associated with this object if one exists. |
|
String |
getLabel()
Returns the label associated with the field. |
|
String |
getValue()
Returns the value associated with the field. |
|
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. |
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
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-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.