GetCustomTokenPropertyByValue()
GetCustomTokenPropertyByValue() returns customTokenProperty(s) corresponding to the plaintext value(s) and custom data.
Syntax
public String[] GetCustomTokenPropertyByValue (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[] | Plaintext(s) for which the customTokenProperty(s) is required. |
customData | string[] | An array of customer specified data for which customTokenProperty(s) is required. |
Note
For MySQL, if the customData parameter is null or empty, then the GetCustomTokenPropertyByValue() API returns results for all the customData values in the token vault.
Returned Value
An array of string of the customTokenProperty.