public static final class StUhf.AccessPassword extends StUhf.Password
StUhf.Password.Type
Modifier and Type | Method and Description |
---|---|
static StUhf.AccessPassword |
getNewInstance(byte[] bytes)
Generate a access Password Objects
|
static StUhf.AccessPassword |
getNewInstance(byte b0,
byte b1,
byte b2,
byte b3)
Generate an access key object
|
StUhf.Password.Type |
getType()
get pasword type
|
getBytes
public static StUhf.AccessPassword getNewInstance(byte b0, byte b1, byte b2, byte b3)
b0
-
The 0 byte of the keyb1
-
The 1st byte of the keyb2
-
The 2nd byte of the keyb3
-
The 3rd byte of the keypublic static StUhf.AccessPassword getNewInstance(byte[] bytes)
bytes
-
Key storage array must be four bytes longjava.lang.NullPointerException
-
If bytes is empty java.lang.IllegalArgumentException
-
If the bytes length is not 4public StUhf.Password.Type getType()
StUhf.Password
getType
in class StUhf.Password