public class

CMCProfile

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

Class Overview

Certificate Management over CMS (CMC) Profile to enroll certificate. CMC-Enrollment over Secure Transport (EST) protocol is used to enroll certificate. Please refer to RFC 7030 - Enrollment over Secure Transport for more information on CMC-EST.

Since
API level 12
KNOX 2.1

Summary

Constants
String KEY_ENCR_FROM_SERVER Indicates whether private key in server side key generation has to be encrypted.
String KEY_ENCR_TYPE Indicates encryption mechanism used for encrypting the private key (in case of server side key generation)
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public String estServerUrl CMC-EST Server URL.
public Bundle extras Any extra parameter can be sent as part of Bundle It can take params 'KEY_ENCR_FROM_SERVER', 'KEY_ENCR_TYPE'
public String oneTimePassword One Time Password (OTP) for enrollment authentication.
public String password Password for enrollment authentication.
public boolean serverSideKeyGeneration Request Server-side key generation.
public String subjectAlterNativeName UPN Name to be specified in certificate.
public String subjectName Represents an X.500 principal, which holds the distinguished name of some network entity.
public String userName Username for enrollment authentication.
[Expand]
Inherited Fields
From class com.samsung.android.knox.keystore.EnrollmentProfile
Public Constructors
CMCProfile()
Public Methods
String getProfileType()
Returns the profile type.
[Expand]
Inherited Methods
From class com.samsung.android.knox.keystore.EnrollmentProfile
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final String KEY_ENCR_FROM_SERVER

Since: API level 22

Indicates whether private key in server side key generation has to be encrypted.

Since
API level 22
KNOX 2.8
Constant Value: "requestkeyencrfromserver"

public static final String KEY_ENCR_TYPE

Since: API level 22

Indicates encryption mechanism used for encrypting the private key (in case of server side key generation)

Since
API level 22
KNOX 2.8
Constant Value: "serverkeygenencrtype"

Fields

public String estServerUrl

Since: API level 12

CMC-EST Server URL.

Since
API level 12
KNOX 2.1

public Bundle extras

Since: API level 22

Any extra parameter can be sent as part of Bundle It can take params 'KEY_ENCR_FROM_SERVER', 'KEY_ENCR_TYPE'

Since
API level 22
KNOX 2.8

public String oneTimePassword

Since: API level 12

One Time Password (OTP) for enrollment authentication. This field is required only if Server mandates OTP authentication.

Since
API level 12
KNOX 2.1

public String password

Since: API level 12

Password for enrollment authentication. This field is required only if Server mandates username and password authentication.

Since
API level 12
KNOX 2.1

public boolean serverSideKeyGeneration

Since: API level 28

Request Server-side key generation.

public String subjectAlterNativeName

Since: API level 12

UPN Name to be specified in certificate. (Optional)

Since
API level 12
KNOX 2.1

public String subjectName

Since: API level 12

Represents an X.500 principal, which holds the distinguished name of some network entity. An example of a distinguished name is "O=SomeOrg, OU=SomeOrgUnit, C=US". The class can be instantiated from a byte representation of an object identifier (OID), an ASN.1 DER-encoded version, or a simple string holding the distinguished name. The representations must follow either RFC 2253, RFC 1779, or RFC2459.

Since
API level 12
KNOX 2.1

public String userName

Since: API level 12

Username for enrollment authentication. This field is required only if Server mandates username and password authentication.

Since
API level 12
KNOX 2.1

Public Constructors

public CMCProfile ()

Since: API level 12

Since
API level 12
KNOX 2.1

Public Methods

public String getProfileType ()

Since: API level 12

Returns the profile type.

Returns
Since
API level 12
KNOX 2.1
See Also