GetTokenWithCustomData()
GetTokenWithCustomData() returns token for the plaintext value from the token vault.
Syntax
public String GetTokenWithCustomData (String naeUser, String naePassword, String dbUser, String dbPswd, String tableName, String value, String customData)
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. |
tableName | string | This is the Token Vault name and it must be in CAPITAL LETTERS. |
value | string | The plaintext value. |
customData | string | Customer-specific data. Use null if customData is not used. |
Note
For MySQL, if the customData parameter is null or empty, then the GetTokenWithCustomData() API returns result irrespective of the customData value in the token vault.