public abstract class SEOperatorAbs extends Object
SystemCapability.Security#SEOPERATOR| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
INIT_ERROR |
Indicates the init error code, the default value is -100.
|
| 构造器 | 说明 |
|---|---|
SEOperatorAbs() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract int |
checkEligibility(String spId) |
Checks whether a device supports the pan-payment function.
|
abstract int |
commonExecute(String spId,
String serviceId,
String funCallId) |
Performs a user-defined operation and issues different chip instructions according to funCallId.
|
abstract int |
createSSD(String spId,
String sign,
String timeStamp,
String ssdAid) |
Creates an supplementary security domain for storing information.
|
abstract int |
deleteSSD(String spId,
String sign,
String timeStamp,
String ssdAid) |
Deletes an supplementary security domain.
|
abstract String |
getCplc(String spId) |
Obtains the Card Production Life Cycle (CPLC) data of a chip.
|
abstract String[] |
getLastErrorInfo(String spId) |
Obtains the last log of an operation failure.
|
abstract boolean |
isEnable(String spId,
String info) |
Checks whether pan-payment is enabled.
|
abstract int |
setConfig(String spId,
Map<String,String> info) |
Sets the request URL to switch to the test environment.
|
abstract int |
setEnable(String spId,
String info,
boolean isEnable) |
Sets the pan-payment switch status.
|
abstract int |
syncSeInfo(String spId,
String sign,
String timeStamp) |
Synchronizes the supplementary security domain information of a chip.
|
public static final int INIT_ERROR
public abstract int checkEligibility(String spId)
spId - The id to differentiate the caller0 if the device supports the pan-payment function; returns other values otherwise.public abstract int syncSeInfo(String spId, String sign, String timeStamp)
spId - Indicates the caller ID.sign - Indicates the signature of the operation to be performed.timeStamp - Indicates the timestamp in yyyyMMddHHmmss format.0 if the synchronization is successful; returns other values otherwise.public abstract int createSSD(String spId, String sign, String timeStamp, String ssdAid)
spId - Indicates the caller ID.sign - Indicates the signature of the operation to be performed.timeStamp - Indicates the timestamp in yyyyMMddHHmmss format.ssdAid - Indicates the ID of the supplementary security domain to be created, which is configured by Huawei.0 if the supplementary security domain is created; returns other values otherwise.public abstract int deleteSSD(String spId, String sign, String timeStamp, String ssdAid)
spId - Indicates the caller ID.sign - Indicates the signature of the operation to be performed.timeStamp - Indicates the timestamp in yyyyMMddHHmmss format.ssdAid - Indicates the ID of the supplementary security domain to be deleted.0 if the supplementary security domain is deleted; returns other values otherwise.public abstract int commonExecute(String spId, String serviceId, String funCallId)
spId - Indicates the caller ID.serviceId - Indicates the server session ID.funCallId - Indicates the ID of the operation to be performed.0 if the operation is successful; returns other values otherwise.public abstract String getCplc(String spId)
spId - Indicates the caller ID.public abstract boolean isEnable(String spId, String info)
spId - Indicates the caller ID.info - Indicates information related to HUAWEI Wallet.
An empty string is input if HUAWEI Wallet is not used.public abstract int setEnable(String spId, String info, boolean isEnable)
spId - Indicates the caller ID.info - Indicates information related to HUAWEI Wallet.
An empty string is input if HUAWEI Wallet is not used.isEnable - Indicates the status to be set, true means switch on.0 if the pan-payment status is set; returns other values otherwise.public abstract String[] getLastErrorInfo(String spId)
spId - Indicates the caller ID.public abstract int setConfig(String spId, Map<String,String> info)
spId - Indicates the caller ID.info - Indicates information related to HUAWEI Wallet.
An empty object is input if HUAWEI Wallet is not used.