public class BaseOnDataBaseHomeKitAuthInfo extends Object implements XIMCloudHomeKitAuthInfo
| 构造器和说明 |
|---|
BaseOnDataBaseHomeKitAuthInfo(HomeKitAuthInfoRepository homeKitAuthInfoRepository,
HomeKitUserRepository homeKitUserRepository) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createUser(String userName,
byte[] publicKey) |
String |
getMac() |
String |
getPin() |
byte[] |
getPrivateKey() |
BigInteger |
getSalt() |
String |
getSetupId()
A setup Id used for pairing the device using QR Code.
|
List<HomeKitUserVo> |
getUserList() |
byte[] |
getUserPublicKey(String userName) |
boolean |
hasUser()
Called to check if a user has been created.
|
boolean |
hasUser(String userName) |
void |
removeUser(String userName) |
public BaseOnDataBaseHomeKitAuthInfo(HomeKitAuthInfoRepository homeKitAuthInfoRepository, HomeKitUserRepository homeKitUserRepository)
public String getPin()
getPin 在接口中 io.github.hapjava.server.HomekitAuthInfopublic String getMac()
getMac 在接口中 io.github.hapjava.server.HomekitAuthInfopublic BigInteger getSalt()
getSalt 在接口中 io.github.hapjava.server.HomekitAuthInfopublic byte[] getPrivateKey()
getPrivateKey 在接口中 io.github.hapjava.server.HomekitAuthInfopublic String getSetupId()
getSetupId 在接口中 io.github.hapjava.server.HomekitAuthInfopublic void createUser(String userName, byte[] publicKey)
createUser 在接口中 io.github.hapjava.server.HomekitAuthInfopublic void removeUser(String userName)
removeUser 在接口中 io.github.hapjava.server.HomekitAuthInfopublic byte[] getUserPublicKey(String userName)
getUserPublicKey 在接口中 io.github.hapjava.server.HomekitAuthInfopublic boolean hasUser()
hasUser 在接口中 io.github.hapjava.server.HomekitAuthInfopublic List<HomeKitUserVo> getUserList()
getUserList 在接口中 XIMCloudHomeKitAuthInfopublic boolean hasUser(String userName)
hasUser 在接口中 XIMCloudHomeKitAuthInfoCopyright © 2021. All rights reserved.