Since: API level 12
public class

CertificateProfile

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.keystore.CertificateProfile

Class Overview

This class defines profile for controlling access to the certificate being installed. See also ClientCertificateManager.

Since
API level 12
KNOX 2.1

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public String alias Certificate alias.
public boolean allowAllPackages true if all packages in the container are allowed to access the certificate, false otherwise.
public boolean allowWiFi true if WiFi is allowed to access the certificate, false otherwise.
public boolean isCSRResponse true if certificate is CSR response, false otherwise
public List<String> packageList List of packages allowed to access the certificate.
Public Constructors
CertificateProfile()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public String alias

Since: API level 12

Certificate alias. In case of installing a CSR Response this alias should match the one used while generating CSR. Maximum supported alias length is 128 bytes.

Since
API level 12
KNOX 2.1

public boolean allowAllPackages

Since: API level 12

true if all packages in the container are allowed to access the certificate, false otherwise.

Since
API level 12
KNOX 2.1

public boolean allowWiFi

Since: API level 12

true if WiFi is allowed to access the certificate, false otherwise.

Since
API level 12
KNOX 2.1

public boolean isCSRResponse

Since: API level 12

true if certificate is CSR response, false otherwise

Since
API level 12
KNOX 2.1

public List<String> packageList

Since: API level 12

List of packages allowed to access the certificate. This list should only include packages which are whitelisted to access the Client Certificate Manager token using CCMProfile. This list will not have any impact if allowAllPackages is true. Installer package is whitelisted by default to access the certificate.

Since
API level 12
KNOX 2.1

Public Constructors

public CertificateProfile ()

Since: API level 12

Since
API level 12
KNOX 2.1