public class

CSRProfile

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

Class Overview

This class defines profile to setup Certiticate Signing Request (CSR) template. See also ClientCertificateManager.

Since
API level 12
KNOX 2.1

Summary

Nested Classes
enum CSRProfile.CSRFormat Certrificat Signing Request format 
enum CSRProfile.KeyAlgorithm Key Algorith Type 
enum CSRProfile.ProfileType Certificate enrollment protocol types 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public String commonName Common Name (CN) attribute to be included in CSR.
public String country Country (C) attribute to be included in CSR.
public CSRProfile.CSRFormat csrFormat Certificate Signing Request (CSR) format.
public String domainComponent Domain Component (DC) attribute to be included in CSR.
public String emailAddress Email address attribute to be included in CSR.
public CSRProfile.KeyAlgorithm keyAlgType CSR Key Algorithm type.
public int keyLength CSR Key Length.
public String locality Locality (L) attribute to be included in CSR.
public String organization Organization (O) attribute to be included in CSR.
public CSRProfile.ProfileType profileType Certificate enrollment protocol.
public String state State (ST) attribute to be included in CSR.
public String templateName CSR template name.
Public Constructors
CSRProfile()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public String commonName

Since: API level 12

Common Name (CN) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public String country

Since: API level 12

Country (C) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public CSRProfile.CSRFormat csrFormat

Since: API level 12

Certificate Signing Request (CSR) format. Format is related to the certificate enrollment protocol specified using CSRProfile.ProfileType. Selected CSRProfile.ProfileType should support the selected format. Supported CSR format is PKCS10.

Since
API level 12
KNOX 2.1

public String domainComponent

Since: API level 12

Domain Component (DC) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public String emailAddress

Since: API level 12

Email address attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public CSRProfile.KeyAlgorithm keyAlgType

Since: API level 12

CSR Key Algorithm type. Supported algorithm type is RSA.

Since
API level 12
KNOX 2.1

public int keyLength

Since: API level 12

CSR Key Length. 1024 or 2048. Default is 1024.

Since
API level 12
KNOX 2.1

public String locality

Since: API level 12

Locality (L) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public String organization

Since: API level 12

Organization (O) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public CSRProfile.ProfileType profileType

Since: API level 12

Certificate enrollment protocol. Default - SCEP

Since
API level 12
KNOX 2.1

public String state

Since: API level 12

State (ST) attribute to be included in CSR.

Since
API level 12
KNOX 2.1

public String templateName

Since: API level 12

CSR template name. Template name is mandatory and the same template name should be used while generating CSR. Maximum supported template name length is 223 bytes.

Since
API level 12
KNOX 2.1

Public Constructors

public CSRProfile ()

Since: API level 12

Since
API level 12
KNOX 2.1