Digital Authentication Framework
6.0.1.37
|
This is an example class 0 device. More...
Public Member Functions | |
Class0Device (byte[] id) | |
Create a device, given its device identifier. More... | |
DAMetaData | getInfo () |
Get information about this instance. More... | |
DASession | createSession (byte[] authToken) throws DAError |
Create a new session to make use of the device. More... | |
This is an example class 0 device.
The device-id is passed into the Device constructor, and passed down to the Key's constructor when a session is started.
This provider only accepts an empty auth-token.
You can use this provider as-is if you have a class 0 device.
com.good.daf.class0.Class0Device.Class0Device | ( | byte[] | id | ) |
Create a device, given its device identifier.
id | device's identifer |
Create a new session to make use of the device.
This method will be called once per underlying native createSession call, and the result wrapped.
authToken | the auth token necessary to create a session |
DAError | if a session cannot be created |
Implements com.good.daf.DADevice.
DAMetaData com.good.daf.class0.Class0Device.getInfo | ( | ) |
Get information about this instance.
This method will be called once shortly after construction and the result wrapped by the native translation layer.
This method is not allowed to fail except fatally (OutOfMemoryError, etc.)
Implements com.good.daf.DADevice.