1 /* 2 * Copyright (C) 2025-2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef DIA_CONFIG_INFO_H 17 #define DIA_CONFIG_INFO_H 18 19 #define DIA_SESSION_ID "SESSION_ID" 20 // 预制规则集 21 #define DIA_SELECT_RULE "SELECT_RULE" 22 23 #define DIA_DIFF_PRIVACY_ALGORITHM "DP_ALGORITHMS_TYPE" 24 25 /* 规则名称 */ 26 // note:后续增加规则,需要考虑规则冲突,因为typelist可能会有多个 27 // 身份证 社保号 居住证号 纳税人识别号 驾驶证号 28 #define DIA_PRC "PRC" 29 // 护照号 30 #define DIA_CHINA_RESIDENT_PASSPORT "CHINA_RESIDENT_PASSPORT" 31 // 军官证 32 #define DIA_MILITARY_IDENTITY_CARD_NUMBER "MILITARY_IDENTITY_CARD_NUMBER" 33 // 银行卡 34 #define DIA_BANK_CARD_NUMBER "BANK_CARD_NUMBER" 35 // 邮箱 36 #define DIA_EMAIL "EMAIL" 37 //手机号 38 #define DIA_PHONE_NUMBER "PHONE_NUMBER" 39 // 车牌号 40 #define DIA_LICENSE_PLATE_NUMBER "LICENSE_PLATE_NUMBER" 41 // 港澳通行证 42 #define DIA_PERMIT_LAND_TO_HM "PERMIT_LAND_TO_HM" 43 // 台湾通行证 44 #define DIA_PERMIT_LAND_TO_TW "PERMIT_LAND_TO_TW" 45 // 回乡证 46 #define DIA_PERMIT_HM_TO_LAND "PERMIT_HM_TO_LAND" 47 // 台胞证 48 #define DIA_PERMIT_TW_TO_LAND "PERMIT_TW_TO_LAND" 49 // 出生证明 50 #define DIA_BIRTH_CERTIFICATE "BIRTH_CERTIFICATE" 51 // 中国海员证 52 #define DIA_SEAFARER_PASSPORT "SEAFARER_PASSPORT" 53 // 警官证 54 #define DIA_POLICE_OFFICER_CARD "POLICE_OFFICER_CARD" 55 56 #endif // DIA_CONFIG_INFO_H