public static final class StUhf.AccessPassword extends StUhf.Password
StUhf.Password.Type| 限定符和类型 | 方法和说明 |
|---|---|
static StUhf.AccessPassword |
getNewInstance(byte[] bytes)
生成一个访问口令对象
|
static StUhf.AccessPassword |
getNewInstance(byte b0,
byte b1,
byte b2,
byte b3)
生成一个访问密钥对象
|
StUhf.Password.Type |
getType()
获取当前口令类型
|
getBytespublic static StUhf.AccessPassword getNewInstance(byte b0, byte b1, byte b2, byte b3)
b0 - 密钥的第0个字节
b1 - 密钥的第1个字节
b2 - 密钥的第2个字节
b3 - 密钥的第3个字节
public static StUhf.AccessPassword getNewInstance(byte[] bytes)
bytes - 存储密钥的数组,必须为四个字节长
java.lang.NullPointerException - 如果bytes为空
java.lang.IllegalArgumentException - 如果bytes长度不为4
public StUhf.Password.Type getType()
StUhf.PasswordgetType 在类中 StUhf.Password