Since: API level 37
public class

CertProvisioningManager

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.zt.devicetrust.cert.CertProvisioningManager

Class Overview

This class provides APIs related to Knox Zero Trust Cert Provisioning

Summary

Public Constructors
CertProvisioningManager()
Public Methods
static CertProvisioningManager getInstance(Context context)
Get the CertProvisioningManager instance to use for the supplied Context object
int provisionCert(CertProvisionProfile provisionProfile, ICertProvisionListener listener)
Provision Certificate
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertProvisioningManager ()

Since: API level 37

Public Methods

public static CertProvisioningManager getInstance (Context context)

Since: API level 37

Get the CertProvisioningManager instance to use for the supplied Context object

Parameters
context context of the application or service using this class
Returns
Since
API level 37
KNOX 3.10

public int provisionCert (CertProvisionProfile provisionProfile, ICertProvisionListener listener)

Since: API level 37

Provision Certificate

Parameters
provisionProfile profile for certificate provisioning
listener listener to receive cert provisioning status
Returns
  • zero if successful, non-zero otherwise
Throws
KnoxZtException In case of failure due to permission or wrong argument reasons
Permission
The use of this API requires the caller to have the "com.samsung.android.knox.permission.KNOX_CERT_PROVISIONING" permission which has a protection level of signature. And caller should be a DO, WPC or KSP.
Since
API level 37
KNOX 3.10