Data for SVAULT token generation. Used by the DSVaultGenToken() API.
◆ bFlags
Generation options. It can be one of the options in the table below
◆ bCKS
Defines the checksum type for token generation. It can be one of the options in the table below
Value | Operation |
DinamoApi.D_SVAULT_CKS_NULL | It doesn't generate a checksum. It only generates the token. |
DinamoApi.D_SVAULT_CKS_CPF | Generates the 2 check digits in the CPF (Cadastro de Pessoas Físicas) standard on the token. The secret must contain only numbers and include the check digits. |
DinamoApi.D_SVAULT_CKS_CNPJ | Generates the 2 verification digits in the CNPJ (Cadastro Nacional da Pessoa Jurídica) standard on the token. The secret must contain only numbers and include the check digits. |
DinamoApi.D_SVAULT_CKS_PAN | Generates a PAN (Primary Account Number) with a valid check digit in the token. The secret must be complete and contain only numbers. |
DinamoApi.D_SVAULT_CKS_IEL | Generates the 2 check digits in the pattern of the voter registration number on the token. The secret must contain only numbers and include the check digits. |
◆ bType
◆ bFrom
Defines the basis of representation of the secret string for FPE (Format-Preserving-Encryption). It can be one of the options in the table below.
◆ bTo
Defines the basis of representation of the token string for FPE (Format-Preserving-Encryption). It can be one of the options in the table below.
◆ pbSecret
◆ szMK
Name of the key used for data protection.