Digital Authentication Framework  6.0.1.37
Public Member Functions | List of all members
com.good.daf.DAMetaData Interface Reference

This interface allows access to information about devices, sessions and keys. More...

Inheritance diagram for com.good.daf.DAMetaData:
com.good.daf.basic.BasicMetaData

Public Member Functions

String getString (DAAttrib which)
 Return the string value for the given attribute. More...
 
Boolean getFlag (DAAttrib which)
 Return the boolean value for the given attribute. More...
 
byte[] getData (DAAttrib which, long index)
 Return the byte string value for the given attribute. More...
 
Long getSize (DAAttrib which)
 Return the size value for the given attribute. More...
 

Detailed Description

This interface allows access to information about devices, sessions and keys.

Meta data is strongly typed, and each attribute value is expressed either as a string, a boolean flag, a byte string, or an integer size.

Member Function Documentation

byte [] com.good.daf.DAMetaData.getData ( DAAttrib  which,
long  index 
)

Return the byte string value for the given attribute.

Parameters
whichnames the attribute whose value is requested
indexto extract additional values; for multi-valued attributes (like DA_CERTIFICATE, where a full chain of certificates might be available). typically zero.
Returns
the value, or null if there is no such attribute with a byte string value, or no value at that index.

Implemented in com.good.daf.basic.BasicMetaData.

Boolean com.good.daf.DAMetaData.getFlag ( DAAttrib  which)

Return the boolean value for the given attribute.

Parameters
whichnames the attribute whose value is requested
Returns
the value, or null if there is no such attribute with a boolean value.

Implemented in com.good.daf.basic.BasicMetaData.

Long com.good.daf.DAMetaData.getSize ( DAAttrib  which)

Return the size value for the given attribute.

Parameters
whichnames the attribute whose value is requested
Returns
the value, or null if there is no such attribute with a size value.

Implemented in com.good.daf.basic.BasicMetaData.

String com.good.daf.DAMetaData.getString ( DAAttrib  which)

Return the string value for the given attribute.

Parameters
whichnames the attribute whose value is requested
Returns
the value, or null if there is no such attribute with a string value.

Implemented in com.good.daf.basic.BasicMetaData.


The documentation for this interface was generated from the following file: