Nexus' software components have new names:

Nexus PRIME -> Smart ID Identity Manager
Nexus Certificate Manager -> Smart ID Certificate Manager
Nexus Hybrid Access Gateway -> Smart ID Digital Access component
Nexus Personal -> Smart ID clients

Go to Nexus homepage for overviews of Nexus' solutions, customer cases, news and more.

This article describes how to manage the option to decide how long the virtual smart card shall be valid in the use case Get virtual smart card (self-service user) in the Virtual smart card package. A script in Identity Manager Admin is used to manage the options.

See a list of all available options in the Smart ID use cases for the Virtual smart card package here: Virtual smart card - Options

Expand/Collapse All



Step-by-step instruction for the administrator

  1. Log in to Identity Manager Admin as Administrator.
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script VirtualSmartCardScriptOptions.
  3. In the script, go to the yearsOfValidity variable, see the example. By default it is set to 2, which means that the virtual smart card is valid for 2 years


    Defines the validity of the virtual smart card
    def date = new Date()
    CredentialsDp_ValidFrom = date
    var yearsOfValidity = 2 // --> CHANGE HERE
    // Calculate the validity by adding the 'yearsOfValidity' value to the current date 
    use(TimeCategory) {
        CredentialsDp_ValidTo = binding.variables["CredentialsDp_ValidFrom"] + yearsOfValidity.year  
  4. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).

Technical details

2 (default)The virtual smart card is valid for 2 years
Other valueThe validity of the virtual smart card is set to this value

Click here to see the whole manage options script.