DataContainer

public class DataContainer extends TokenObject

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

Methods

getApplication

public String getApplication()

Gets the application name of the data container, corresponding to the CKA_APPLICATION attribute of the object, as seen by the PKCS#11 interface.

Returns:the CKA_APPLICATION attribute of the data container.

getValue

public byte[] getValue()

Retrieves the data container data value.

Returns:the data container data value.

setValue

public void setValue(byte[] value)

Modifies the data container data value.

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