DataContainer

public class DataContainer extends TokenObject

This class describes a data container object. Inherits from TokenObject.

Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.

Methods

getApplication

public String getApplication()

Gets the application name of the data container.

Returns:the application name of the data container.

getLabel

public String getLabel()

Gets the label of the data container.

Returns:the label of the data container.

getValue

public byte[] getValue()

Retrieves the data container data value.

Returns:the data container data value.

isModifiable

public boolean isModifiable()

Indicates whether the data container data value is modifiable.

Returns:true if the object data value is modifiable.

isPrivate

public boolean isPrivate()

Indicates whether the object is public or private (protected by PIN).

Returns:true if the object data value is protected by PIN.

setValue

public void setValue(byte[] value)

Modifies the data container data value.

Parameters:
  • value – a byte array containing the new data value.