public interface CertificateProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANDROID_APPID_KEY
Used to identify one entry from a HashMap, passed through the argument of {
setParameters(Map) }. |
static java.lang.String |
ANDROID_CONTEXT_KEY
Used to identify one entry from a HashMap, passed through the argument of {
setParameters(Map) }. |
Modifier and Type | Method and Description |
---|---|
void |
deleteStoredCertificate()
Removes the certificate (and private key) which is stored locally.
|
void |
getCertificate(CertificateProviderListener callback)
Deprecated.
Not for public use. This method is expected to be retained only as a package
private method. Replaced by
initialize(CertificateProviderListener callbackObject) |
javax.net.ssl.X509KeyManager |
getStoredCertificate()
Synchronous method to get the certificate from the provider.
|
void |
initialize(CertificateProviderListener callback)
Used to initialize the CertificateProvider when appropriate.
|
void |
setParameters(java.util.Map<java.lang.Object,java.lang.Object> params)
This method is expected to be retained only as a package private method.
|
static final java.lang.String ANDROID_CONTEXT_KEY
setParameters(Map)
}.
Android context.static final java.lang.String ANDROID_APPID_KEY
setParameters(Map)
}.
Application ID.void initialize(CertificateProviderListener callback) throws CertificateProviderException
callback
- CertificateProviderException
javax.net.ssl.X509KeyManager getStoredCertificate()
void deleteStoredCertificate()
@Deprecated void getCertificate(CertificateProviderListener callback)
initialize(CertificateProviderListener callbackObject)
callback
- void setParameters(java.util.Map<java.lang.Object,java.lang.Object> params)
params
- Provider specific parameter map. Reserved keys are:
ANDROID_CONTEXT_KEY
- context passed from caller application used to
present activitiesANDROID_APPID_KEY
- application id of the caller application