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.
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
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
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.
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)
Constant Value:
"serverkeygenencrtype"
Fields
public
String
estServerUrl
Since: API level 12
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'
public
String
oneTimePassword
Since: API level 12
One Time Password (OTP) for enrollment authentication. This field is
required only if Server mandates OTP authentication.
public
String
password
Since: API level 12
Password for enrollment authentication. This field is required only if
Server mandates username and password authentication.
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)
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.
public
String
userName
Since: API level 12
Username for enrollment authentication. This field is required only if
Server mandates username and password authentication.
Public Constructors
Public Methods
public
String
getProfileType
()
Returns the profile type.