Previous Topic: Fetching ArcotID PKI DetailsNext Topic: Saving Additional ArcotID PKI Attributes


Managing Additional ArcotID PKI Attributes

To set the ArcotID PKI information that cannot be passed by using the fields listed in the "ArcotID PKI Details" section, you need to use the setAttribute() method and pass that information as name-value pairs, and to read that information use getAttribute() method. The following table explains these methods:

Method

Description

setAttribute()

This method is used to set the ArcotID PKI information that cannot be passed by using the fields listed in the "ArcotID PKI Details" section. The additional information is passed as name-value pairs.

Input Parameters:

  • The name of the attribute. For example, if you want to display your organization copyright information along with the user details on the mobile application, then you can set a new attribute called Copyright.

Output Parameters:

  • The value (in string format) that has to be set for the attribute.

getAttribute()

This method is used to read the value of ArcotID PKI attributes.

Input Parameters:

  • The name of the attribute, whose value has to be fetched.

Output Parameters:

  • Attribute value in the string format.