.. java:import:: org.json JSONObject DataContainer ============= .. java:package:: com.idopte.scmapi :noindex: .. java:type:: public class DataContainer extends TokenObject This class describes a data container object. Inherits from \ :java:ref:`TokenObject`\ . Methods ------- getApplication ^^^^^^^^^^^^^^ .. java:method:: public String getApplication() :outertype: DataContainer Gets the application name of the data container, corresponding to the ``CKA_APPLICATION`` attribute of the object, as seen by the PKCS#11 interface. :return: the ``CKA_APPLICATION`` attribute of the data container. getValue ^^^^^^^^ .. java:method:: public byte[] getValue() throws SCMException :outertype: DataContainer Retrieves the data container data value. :return: the data container data value. setValue ^^^^^^^^ .. java:method:: public void setValue(byte[] value) throws SCMException :outertype: DataContainer Modifies the data container data value. :param value: a byte array containing the new data value.