Optim Data Privacy Providers  11.7.0
 All Data Structures Files Functions Variables Macros Groups Pages
Specific Parameters
Collaboration diagram for Specific Parameters:

France National ID Specific Parameters

The following defines are associated with the usParameterID member of DP_INIT_OP_DEF structure.

#define ODPP_OPR_NID_FR_PARTS   NIDOPERANDBASE + 0
 
#define ODPP_OPR_NID_FR_SEP   NIDOPERANDBASE + 6
 

Values for parameter ODPP_OPR_NID_FR_PARTS

#define ODPP_FR_PARTS_MASK_SEX   1
 
#define ODPP_FR_PARTS_MASK_YEAR   2
 
#define ODPP_FR_PARTS_MASK_MONTH   4
 
#define ODPP_FR_PARTS_MASK_DEPT   8
 
#define ODPP_FR_PARTS_MASK_COMMUNE   16
 

Detailed Description

Macro Definition Documentation

#define ODPP_OPR_NID_FR_PARTS   NIDOPERANDBASE + 0
  • Use:
    This parameter is used to specify the subfield(s) to be masked.
  • Optional:
    Yes.
    By default the Sex, Year, Month and Commune will be masked.
  • Exclusive:
    N/A
  • Specification Protocol:
    The parameter is specified in the usParameterID member of the DP_INIT_OP_DEF structure during Provider_Init(). Its value is specified in the uiVal member of the DP_INIT_OP_DEF structure.

    Multiple values can be specified by ORing them together as shown below:
    uiVal = <value 1> | <value 2> | ... | <value n> ;
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_YEAR
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_YEAR | ODPP_FR_PARTS_MASK_COMMUNE
#define ODPP_OPR_NID_FR_SEP   NIDOPERANDBASE + 6
  • Use:
    This parameter is used to specify the separator to be used for the resultant INSEE number.
  • Description:
    This parameter specifies the separator to be used for the resultant INSEE number.

    The following are the formats for INSEE:
    • SYYMMDDCCCOOOKK
    • SYYMMDDCCCOOO-KK
    • SYYMMDDCCCOOO KK

    The valid values for this parameter are:
    For the Mask method, the default is to use the same separator as the source for the resultant values. For the Random method, the default is to generate the resultant values without a separator. The separator values are mutually exclusive with each other.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_SEP = ODPP_SEP_DASH
#define ODPP_FR_PARTS_MASK_SEX   1
  • Use:
    Mask the sex field of the source INSEE number.
  • Description:
    When this value is specified for parameter ODPP_OPR_NID_FR_PARTS, the sex field of the source INSEE number is masked while generating the resultant INSEE number.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_SEX
#define ODPP_FR_PARTS_MASK_YEAR   2
  • Use:
    Mask the year field of the source INSEE number.
  • Description:
    When this value is specified for parameter ODPP_OPR_NID_FR_PARTS, the year field of the source INSEE number is masked while generating the resultant INSEE number.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_YEAR
#define ODPP_FR_PARTS_MASK_MONTH   4
  • Use:
    Mask the month field of the source INSEE number.
  • Description:
    When this value is specified for parameter ODPP_OPR_NID_FR_PARTS, the month field of the source INSEE number is masked while generating the resultant INSEE number.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_MONTH
#define ODPP_FR_PARTS_MASK_DEPT   8
  • Use:
    Mask the department field of the source INSEE number.
  • Description:
    When this value is specified for parameter ODPP_OPR_NID_FR_PARTS, the department field of the source INSEE number is masked while generating the resultant INSEE number. The commune field will also be masked since valid commune values are defined by the department value.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_DEPT
#define ODPP_FR_PARTS_MASK_COMMUNE   16
  • Use:
    Mask the commune field of the source INSEE number.
  • Description:
    When this value is specified for parameter ODPP_OPR_NID_FR_PARTS, the commune field of the source INSEE number is masked while generating the resultant INSEE number.
  • Optional:
    Yes
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_NID_FR_PARTS = ODPP_FR_PARTS_MASK_COMMUNE