• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
CertificateHandler Class Reference

PKI certificate management interface. More...

Description

Call the methods in this class to add and remove certificate listeners for integration with an enterprise public key infrastructure (PKI). There is only ever a single instance of this class.

See also
com.good.gd.pki package reference for background on BlackBerry Dynamics PKI integration.

Public Member Functions

void addCertificateListener (CertificateListener listener)
 Add certificate listener. More...
 
void removeCertificateListener (CertificateListener listener)
 Remove certificate listener. More...
 

Static Public Member Functions

static CertificateHandler getInstance ()
 Shared instance. More...
 

Member Function Documentation

◆ getInstance()

static CertificateHandler getInstance ( )
static

This method returns a reference to the BlackBerry Dynamics PKI certificate management interface object. The BlackBerry Dynamics PKI certificate management interface is a "singleton class".

Returns
Reference that can be used to call, for example, addCertificateListener.

◆ addCertificateListener()

void addCertificateListener ( CertificateListener  listener)

Call this method to add a certificate listener.

Parameters
listenerReference to the listener to be added, which must implement the CertificateListener interface.

◆ removeCertificateListener()

void removeCertificateListener ( CertificateListener  listener)

Call this method to remove a certificate listener that was previously added.

Parameters
listenerReference to the listener to be removed, which must have previously been added with addCertificateListener.