Previous Topic: Deleting ArcotID PKI Key Bag ElementsNext Topic: Deleting Unsigned Attributes


Setting Unsigned Attributes

To set the unsigned attributes for the ArcotID PKI of user, you need to implement the setArcotIDUnsignedAttributes() method.

Note: This operation is applicable only for ArcotID PKI credential.

  1. Use the ArcotIDAttributes class to set the ArcotID PKI unsigned attributes.
  2. (Optional) If you are implementing a plug-in, then invoke the setAdditionalInput() method in the AdditionalInput class to fill the AdditionalInput.

    This class provides the additional information that is set as a name-value pair. See "Preparing Additional Input" for more information.

  3. Invoke the setArcotIDUnsignedAttributes() method of the CredentialIssuance interface to set the ArcotID PKI unsigned attributes.

    This method returns an instance of the TransactionDetails interface, which specifies the transaction ID, message, response code, and reason code.

Handling Errors

Exceptions are returned for any errors that occurred while executing any of the Issuance API methods. The com.arcot.webfort.issuance.api.exception and com.arcot.webfort.common.api.exception packages contain these exceptions. See "Issuance Exceptions" and "Common Exceptions" for more information on exception classes.

Note that if no exception is thrown, then processing was successful and the return object can be referenced for processing results. The lack of an error does not necessarily mean that the request was successful.