java.lang.Object | |
↳ | com.samsung.android.knox.keystore.CertificateInfo |
This class is used to send security information data across processes.
API level 2 |
MDM 2.0 |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default Constructor
| |||||||||||
Create from java Certificate.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
API to retrieve the alias of an installed certificate.
| |||||||||||
Get certificate object
| |||||||||||
API to verify whether this certificate is enabled or not.
| |||||||||||
API to verify if a given user certificate has a user private key
associated with it.
| |||||||||||
API to retrieve the keystore where this certificate is installed.
| |||||||||||
API to check whether this certificate is pre-loaded on system or not.
| |||||||||||
Set certificate object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Default Constructor
API level 2 |
MDM 2.0 |
Create from java Certificate.
API level 2 |
MDM 2.0 |
API to retrieve the alias of an installed certificate.
Android Default Keystore
, it
returns null
.An administrator can use this API to get the alias associated with an installed certificate. |
API level 11 |
MDM 5.0 |
Get certificate object
API level 2 |
MDM 2.0 |
API to verify whether this certificate is enabled or not.
true
if certificate is enabled, false
otherwise.
An administrator can use this API to check if this certificate is enabled. User certificates are always enabled. On the other hand, as pre-loaded certificates are not removable, they may be enabled or not. |
API level 11 |
MDM 5.0 |
API to verify if a given user certificate has a user private key associated with it.
true
if a private key with this alias is present, else false
.
An administrator can use this API to check if this certificate has a user private key associated with it, with the same alias. Only user certificates may have a private key. On the other hand, certificate authorities will not have a private key. |
API level 11 |
KNOX 2.0 |
API to retrieve the keystore where this certificate is installed.
An administrator can use this API to get the keystore where this
certificate is installed on device. Possible keystores are
KEYSTORE_DEFAULT , KEYSTORE_FOR_WIFI
and KEYSTORE_FOR_VPN_AND_APPS .
|
API to check whether this certificate is pre-loaded on system or not.
true
if certificate is pre-loaded on system, false
otherwise
An administrator can use this API to verify if this certificate is pre-loaded on system or if it was installed (by a user or an administrator). |
API level 11 |
MDM 5.0 |
Set certificate object
API level 2 |
MDM 2.0 |