Digital Authentication Framework 4.2.0.30
|
Key implementation for the com.good.daf.class1.Class1Device. More...
Public Member Functions | |
DAMetaData | getInfo () |
Get information about this instance. | |
byte[] | getData () throws DAError |
Returns the contents of a storage-only key. | |
void | setData (byte[] d) throws DAError |
Sets the contents of a storage-only key. | |
Static Package Functions | |
static Class1Key | build () |
Package Attributes | |
BasicMetaData | meta = new BasicMetaData() |
Static Package Attributes | |
static byte[] | data = new byte[] {} |
Key implementation for the com.good.daf.class1.Class1Device.
The storage offered by all instances of this key is backed by the same global location: writes to one instance will be reflected in reads from an unrelated instance. This makes it somewhat useless, except for example purposes.
byte [] com.good.daf.class1.Class1Key.getData | ( | ) | throws DAError |
Returns the contents of a storage-only key.
DAError | on failure |
Reimplemented from com.good.daf.basic.BasicKey.
DAMetaData com.good.daf.class1.Class1Key.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.DAKey.
void com.good.daf.class1.Class1Key.setData | ( | byte[] | data | ) | throws DAError |
Sets the contents of a storage-only key.
data | the new data to write to the storage. Never null. |
DAError | on failure |
Reimplemented from com.good.daf.basic.BasicKey.