com.samsung.android.knox.ucm.plugin.agent.UcmAgentProviderImpl.UcmAgentSpiProperty |
Known Indirect Subclasses
|
Class Overview
This interface provide API's and constants which is implemented by UCM SPI classes.
Summary
Public Methods |
abstract
Bundle
|
getProperty()
API to get the properties set by UCM framework during SPI call.
|
abstract
void
|
setErrorCode(int error)
API to set the error code(if any) which will be forwarded to calling application via UCM framework.
|
Constants
public
static
final
String
KEY_ADMIN_ID
Since: API level 20
Constant Value:
"admin_id"
public
static
final
String
KEY_ALGORITHM
Since: API level 20
Constant Value:
"algorithm"
public
static
final
String
KEY_CALLER_UID
Since: API level 20
Constant Value:
"callerUid"
public
static
final
String
KEY_ENTRY_TYPE
Since: API level 20
Key value of ENTRY TYPE: PRIVATEKEY/SECRETKEY/CACERT
Constant Value:
"entryType"
public
static
final
String
KEY_EXTRA_ARGS
Since: API level 20
Bundle extra bundle passed
Constant Value:
"extraArgs"
public
static
final
String
KEY_ISALLOWWIFI
Since: API level 20
Key value of whether wifi is allowed
Constant Value:
"allow_wifi"
public
static
final
String
KEY_ISMANAGED
Since: API level 20
Key value of whether Credential Storage is managed
Constant Value:
"ismanaged"
public
static
final
String
KEY_IS_CALLER_MDM
Since: API level 20
Key value of whether caller is MDM
Constant Value:
"ismdm"
public
static
final
String
KEY_KEYSIZE
Since: API level 20
Key value of Key size for key generation
Constant Value:
"keysize"
public
static
final
String
KEY_OWNER_ID
Since: API level 20
Key value of owner of the keystore (not required)
Constant Value:
"ownerUid"
public
static
final
String
KEY_RENEW_CERT
Since: API level 20
Key value of renew certificate
Constant Value:
"renew"
public
static
final
String
KEY_RESOURCE_ID
Since: API level 20
Key value of Resource ID.
One of PRIVATE_RESOURCE, SHARED_KEYCHAIN_RESOURCE, SHARED_WIFI_RESOURCE
Constant Value:
"resource"
public
static
final
String
KEY_USER_ID
Since: API level 20
Constant Value:
"user_id"
public
static
final
int
PRIVATE_RESOURCE
Since: API level 20
PRIVATE RESOURCE type, owned and accessed only by the same caller UID
Constant Value:
2
(0x00000002)
public
static
final
int
SHARED_KEYCHAIN_RESOURCE
Since: API level 20
KEYCHAIN RESOURCE type, can be accessed by different UID
Constant Value:
1
(0x00000001)
public
static
final
int
SHARED_WIFI_RESOURCE
Since: API level 20
WIFI resources type, can only be accessed by WIFI UID.
Constant Value:
3
(0x00000003)
public
static
final
int
UCS_ALL_RESOURCE
Since: API level 20
Any Resource type (Keychanin, Keystore, wifi)
Constant Value:
4
(0x00000004)
Public Methods
public
abstract
Bundle
getProperty
()
API to get the properties set by UCM framework during SPI call.
Returns
- Bundle calling application information
public
abstract
void
setErrorCode
(int error)
API to set the error code(if any) which will be forwarded to calling application via UCM framework.