StsFlutter class

Constructors

StsFlutter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

checkCert Future<CommonResult>
read-only
clearCert Future<CommonResult>
read-only
getDepartmentNo Future<GetDepartmentNoResult>
read-only
getDeviceID Future<String>
read-only
getFingerprintStatus Future<bool>
read-only
getSignImgFromService Future<SignImgResult>
read-only
getUntieEquipmentQRCode Future<GetQRCodeResult>
read-only
isLocalCertExist Future<bool>
read-only
modifyPIN Future<CommonResult>
read-only
postponeCert Future<CommonResult>
read-only

Static Methods

applyCompanyCert(StsCompanyInfo stsCompanyInfo) Future<ApplyCertResult>
applyPersonalCert(StsUserInfo stsUserInfo) Future<ApplyCertResult>
certDecrypt(String data, String dataFormat, String dataType, String pn) Future<CertDecryptResult>
certEncrypt(String data, String dataFormat, String dataType) Future<CertEncryptResult>
certLogin(String data, String dataFormat, String dataType, String pn) Future<CertLoginResult>
certSeal(String pn) Future<CertSealResult>
certSign(String data, String dataFormat, String dataType, String pn) Future<CertSignResult>
certVerifySign(String data, String dataFormat, String signData, String dataType) Future<CommonResult>
changeCertStatus(int statusType) Future<CommonResult>
clearPKCacheTime(String pn) Future<PKCacheResult>
downloadCert(String phoneNum, String departmentNo, int certType) Future<GetCertResult>
getCert(int certType) Future<GetCertResult>
getLocalCert(int certType) Future<GetCertResult>
getSignImgAndSetItIfNotExist(StsSignImgSetting stsSignImgSetting) Future<SignImgResult>
getSignImgWithDrawingBoard(StsSignImgSetting stsSignImgSetting) Future<SignImgResult>
init(String url, String appKey, String secretKey) Future<String>
initFace(String id, String fileName) Future<String>
initThemeColor(int color) Future<String>
initUseId(String useId) Future<String>
openFingerprint(bool open) Future<CommonResult>
resetCompanyPIN(StsCompanyInfo stsCompanyInfo) Future<CommonResult>
resetPersonalPIN(StsUserInfo stsUserInfo) Future<CommonResult>
scanLogin(StsScanInfo stsScanInfo) Future<CommonResult>
scanSign(StsScanInfo stsScanInfo) Future<CommonResult>
setPKCacheTime(String pn) Future<PKCacheResult>
setSignImgBase64Str(String imgBase64) Future<SignImgResult>
setSignImgWithDrawingBoard(StsSignImgSetting stsSignImgSetting) Future<SignImgResult>
untieEquipment(String qrData) Future<ApplyCertResult>
updateCompanyCert(StsCompanyInfo stsCompanyInfo) Future<CommonResult>
updatePersonalCert(StsUserInfo stsUserInfo) Future<CommonResult>

Constants

CARD_TYPE_ARMED_POLICE_ID_CARD → const String
"05"
CARD_TYPE_ARMED_POLICE_ID_CARD_NAME → const String
"武警身份证"
CARD_TYPE_HOUSEHOLD_REGISTER → const String
"02"
CARD_TYPE_HOUSEHOLD_REGISTER_NAME → const String
"户口本"
CARD_TYPE_ID_CARD → const String
.applyPersonalCert .applyPersonalCertWithPIN .updatePersonalCert .resetPersonalPIN
"00"
CARD_TYPE_ID_CARD_NAME → const String
"身份证"
CARD_TYPE_MILITARY_ID_CARD → const String
"04"
CARD_TYPE_MILITARY_ID_CARD_NAME → const String
"军人身份证"
CARD_TYPE_PASSPORT → const String
"03"
CARD_TYPE_PASSPORT_NAME → const String
"护照"
CARD_TYPE_TEMPORARY_ID_CARD → const String
"01"
CARD_TYPE_TEMPORARY_ID_CARD_NAME → const String
"临时身份证"
CERT_STATUS_TYPE_FREEZE → const int
.changeCertStatus
1
CERT_STATUS_TYPE_REVOKE → const int
3
CERT_STATUS_TYPE_UNFREEZE → const int
2
CERT_TYPE_ENCCERT → const int
2
CERT_TYPE_SIGNCERT → const int
.getCert
1
DATA_FORMAT_DEFAULT → const String
"default"
DATA_FORMAT_P1 → const String
"p1"
DATA_FORMAT_P7 → const String
"p7"
DATA_FORMAT_P7_ENVELOPE → const String
"p7envelope"
DATA_TYPE_BYTE_BY_BASE64 → const String
"4"
DATA_TYPE_BYTE_BY_HEXADECIMAL → const String
"1"
DATA_TYPE_CHINESE_TO_HEXADECIMAL → const String
"2"
DATA_TYPE_ORIGINAL → const String
"3"
DATA_TYPE_ORIGINAL_TO_HEXADECIMAL → const String
.certLogin .certSign .certVerifySign .certEncrypt .certDecrypt
"0"
ORIENTATION_AUTO → const int
.setSignImgWithDrawingBoard .getSignImgAndSetItIfNotExist .getSignImgWithDrawingBoard
1
ORIENTATION_LANDSCAPE → const int
2
ORIENTATION_PORTRAIT → const int
3