14.4.4.2 通过公钥注册Hub用户

方法名 registerHub(String id, String publicKey, CryptoType cryptoType)
方法描述 通过公钥注册Hub,支持用户自定义ID,注册成功便返回用户在Hub内的ID。
方法调用参数
序号 参数 类型 必传 参数含义
1 id String 自定义Hub ID
2 publicKey String 公钥
3 CryptoType String 加密算法:ECDSA
方法返回参数
序号 参数 类型 必传 参数含义
1 RegisterHubResult 注册结果
RegisterHubResult
1 success Boolean 成功返回true,失败返回false
2 uid String Hub内的ID
3 message String 结果说明
Copyright 北京红枣科技有限公司

results matching ""

    No results matching ""

    results matching ""

      No results matching ""