Optim Data Privacy Providers  11.7.0
 All Data Structures Files Functions Variables Macros Groups Pages
Modules
United States National ID
Collaboration diagram for United States National ID:

Modules

 Specific Parameters
 
 Example
 

Detailed Description

Service Identifier: NID

This Service Provider is used to generate a valid and unique U.S. Social Security Number (SSN). By default, the United States National ID Service Provider algorithmically generates a consistently altered destination SSN based on the source SSN. This Service Provider can also generate a random SSN when the source data does not have an SSN value or when there is no need for transforming the source SSN in a consistent manner.

An SSN is made of Three subfields. The first Three digits (area) represent an area generally determined by the state in which the SSN is issued. The next two digits (group) define a group number corresponding to the area number. The last Four digits (serial) are a sequential serial number. Regardless of the type of processing, mask or random, this Service Provider will generate an SSN with a group number appropriate to the area number.

The mask method generates an SSN that includes the source area number as well as altered group and serial numbers based on the source SSN.

The random method generates an SSN that has a random area number and an appropriate group number and serial number. The group number assigned will be the most recent group used by the Social Security Administration for the area. Serial numbers begin with 0001 and are incremented by 1 for each additional SSN generated for the area number. When the serial number exceeds 9999, the serial number will be reset to 0001 and the group number preceding the number most recently issued for the area number will be used.




The following Common Parameters apply to United States National ID:




The below validations will be part of basic validations for the United States National ID:

  1. The input national ID is invalid in length.
  2. The conversion of source is not possible due to invalid source value.
  3. The input national ID has invalid separator.
  4. The input national ID is invalid.
  5. The input area number exceeds the maximum value.
  6. The input area has not been used by the Social Security Administration.




The below validations will be done only when parameter ODPP_OPR_FLAGS is specified with value ODPP_FLAG_VALIDATE_INPUT during Provider_Init():

  1. The input SSN group number has not been used in the specified area.
  2. The input serial number is 0 or the SSN is a reserved value (i.e. 078-05-1120 and 457-55-5462)




The following Service Provider Information Requests are applicable to the National ID Service Provider:




Format of United States National ID

An SSN is a 9 digit number having the following format:

RRR-GG-SSSS

RRRArea number
GGGroup number
SSSSSequential serial number

The three subfields can be separated as shown below:




Data Types

The United States National ID Service Provider supports the following data types for the source and destination columns: