CreateMaskingFormat()
CreateMaskingFormat() creates a new masking format which can be used with the get() methods to mask plaintext values.
Syntax
public Integer CreateMaskingFormat (String naeUser, String naePassword, String dbUser, String dbPswd, Integer showFirst, Integer showLast, String maskChar)
Request Parameters
Parameters | Data Types | Descriptions |
---|---|---|
naeUser | string | A Key Manager user with access to the AES and HMAC keys. |
naePassword | string | The Key Manager user’s password. |
dbUser | string | A database user with access to the token table. |
dbPswd | string | The database user’s password. |
showFirst | string | The number of characters that needs to be displayed at the beginning of the value. |
showLast | string | The number of characters that needs to be displayed at the end of the value. |
maskChar | string | (optional) A single character (except blank space) that will be used as masking character for the remaining characters of the value. The default masking character is X. |
Returned Values
An integer value representing the new masking format ID, the value is greater than 100.