public final class CertificateUI
extends java.lang.Object
| Constructor and Description |
|---|
CertificateUI(android.content.Context context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static android.content.Context |
getAppContext()
Return application context.
|
void |
noCertificateAvailableAlert()
Dialog that warns that there is no certificate available.
|
static void |
setAppContext(android.content.Context context)
Set application context.
|
void |
setBackgroundColor(int color)
Set background color for layout of the dialog.
|
void |
setBackgroundColor(java.lang.String color)
Set background color for layout of the dialog.
|
void |
setTextColor(int color)
Set text color for the text component of the dialog.
|
void |
setTextColor(java.lang.String color)
Set text color for the text component of the dialog.
|
void |
setTextTypeFace(android.graphics.Typeface typeFace)
Set resource TypeFace for the text component of the dialog.
|
int |
showCertificateSelectionDialog(java.security.cert.X509Certificate[] certificates)
Dialog that lists all the certificates available.
|
public CertificateUI(android.content.Context context)
context - application context.public void noCertificateAvailableAlert()
public int showCertificateSelectionDialog(java.security.cert.X509Certificate[] certificates)
certificates - list of the certificates to show.public static android.content.Context getAppContext()
public static void setAppContext(android.content.Context context)
context - Context of the application.public void setBackgroundColor(int color)
color - int value in the form 0xAARRGGBB.public void setBackgroundColor(java.lang.String color)
color - string name of the color.public void setTextColor(int color)
color - int value in the form 0xAARRGGBB.public void setTextColor(java.lang.String color)
color - string name of the color.public void setTextTypeFace(android.graphics.Typeface typeFace)
typeFace - typeFace instance.