namespace learun.wechat { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2019.11.06 /// 描 述:错误码 ///-40001 : 签名验证错误 ///-40002 : xml解析失败 ///-40003 : sha加密生成签名失败 ///-40004 : AESKey 非法 ///-40005 : corpid 校验错误 ///-40006 : AES 加密失败 ///-40007 : AES 解密失败 ///-40008 : 解密后得到的buffer非法 ///-40009 : base64加密异常 ///-40010 : base64解密异常 /// public enum WXBizMsgCryptErrorCode { /// /// 成功 /// WXBizMsgCrypt_OK = 0, /// /// 40001 签名验证错误 /// WXBizMsgCrypt_ValidateSignature_Error = -40001, /// /// 40002 xml解析失败 /// WXBizMsgCrypt_ParseXml_Error = -40002, /// /// 40003 sha加密生成签名失败 /// WXBizMsgCrypt_ComputeSignature_Error = -40003, /// /// 40004 AESKey 非法 /// WXBizMsgCrypt_IllegalAesKey = -40004, /// /// 40005 corpid 校验错误 /// WXBizMsgCrypt_ValidateCorpid_Error = -40005, /// /// 40006 AES 加密失败 /// WXBizMsgCrypt_EncryptAES_Error = -40006, /// /// 40007 AES 解密失败 /// WXBizMsgCrypt_DecryptAES_Error = -40007, /// /// 40008 解密后得到的buffer非法 /// WXBizMsgCrypt_IllegalBuffer = -40008, /// /// 40009 base64加密异常 /// WXBizMsgCrypt_EncodeBase64_Error = -40009, /// /// 40010 base64解密异常 /// WXBizMsgCrypt_DecodeBase64_Error = -40010 }; }