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 ""