-
Notifications
You must be signed in to change notification settings - Fork 178
Description
创建一份错误报告需要您填写以下内容:
概述
清晰、准确地概述所遇到的问题。
我在尝试创建zkp类型的cpt时,makeCredentialTemplate()方法中public static native IssuerResult issuerMakeCredentialTemplate(String var0);方法需要加载以下文件:
try {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
WEDPR_SELECTIVE_DISCLOSURE_LIB_PATH = "/WeDPR_dynamic_lib/ffi_selective_disclosure.dll";
NativeUtils.loadLibraryFromJar("/WeDPR_dynamic_lib/libeay32md.dll");
NativeUtils.loadLibraryFromJar("/WeDPR_dynamic_lib/ssleay32md.dll");
} else if (osName.contains("linux")) {
WEDPR_SELECTIVE_DISCLOSURE_LIB_PATH = "/WeDPR_dynamic_lib/libffi_selective_disclosure.so";
} else {
if (!osName.contains("mac")) {
throw new WedprException("Unsupported the operating system " + osName + ".");
}
WEDPR_SELECTIVE_DISCLOSURE_LIB_PATH = "/WeDPR_dynamic_lib/libffi_selective_disclosure.dylib";
}
NativeUtils.loadLibraryFromJar(WEDPR_SELECTIVE_DISCLOSURE_LIB_PATH);
}
于[WeDPR-Lab-Core]
处下载相应的dll文件,并未找到该文件;但在Linux和mac操作系统下的版本下有发现此类文件;
复现
复现问题的步骤。
期望结果与实际结果
描述您所期望的返回结果和实际的返回结果。
环境
- 区块链类型(FISCO-BCOS):
- 区块链版本及网络:2.0[
- WeIdentity版本:](weid-java-sdk:3.1.1-rc.2)3.1.1-rc.2
其他内容
配置文件
- WeIdentity: 请上传所有位于 /src/main/resources/ 目录下的文件。
日志文件
- FISCO-BCOS: 请上传区块链节点 /log/ 目录下的文件。