Java APIs
The Java APIs enable Java Developers to integrate CT-V methods described below. Your application must import com.safenet.token.TokenService
to use the API.
TokenService() and closeService() – start and close the CT-V service.
createNewFormat() – create new token formats.
createMaskingformat() – create new masking formats to be used with the get() methods that return plaintext values.
insert() – create tokens and insert them into a Token Vault or Token Vaults with the tokenProperty, if provided, including Unicode (multibyte) tokens.
insertIrreversibleToken() – create irreversible tokens and insert them into a Token Vault along with the tokenProperty, if provided, including Unicode (multibyte) tokens.
mask() – create tokens without inserting them into a token vault.
get() – get plaintext values.
getDisabledTokens() – fetch disabled tokens from the token vault.
deleteToken() – delete the tokens.
deleteValue() – delete the tokens on the basis of plaintext value.
deleteTokenEx() – delete specified tokens and returns the number of tokens deleted.
deleteTokenByTokenProperty() – delete tokens based on tokenProperty.
disableToken() – disable specified tokens from a token vault.
getToken() – check if a token exists in the token vault.
getTokensByDate() – retrieve up to 10,000 tokens.
getByTokenProperty() – get tokens based on tokenProperty.
getCustomTokenProperty() – get customTokenProperty(s) based on token(s).
getCustomTokenPropertyByValue() – get customTokenProperty(s) based on plaintext value(s) and custom data.
getVersion() – return the CT-V software version.
setPreserveSpace (boolean arg) - suppress the error message encountered while tokenizing an empty or null string. This method is used by the bulk migration utility.
getPreserveSpace() - return the boolean value for the PreserveSpace() method.
TokenProperty() - constructs a TokenProperty object.
updateTokenProperty() – update the token property of tokens.