Class IdValidationUtil
java.lang.Object
io.mosip.authentication.core.util.IdValidationUtil
Validates the UIN and VID
- Since:
- 1.2.0
- Author:
- Nagarjuna
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidateUIN(String id) Validates the UIN length and checksumbooleanvalidateVID(String id) Validates the VID length and checksum
-
Constructor Details
-
IdValidationUtil
public IdValidationUtil()
-
-
Method Details
-
validateUIN
Validates the UIN length and checksum- Parameters:
id-- Returns:
- Throws:
IdAuthenticationBusinessException
-
validateVID
Validates the VID length and checksum- Parameters:
id-- Returns:
- Throws:
IdAuthenticationBusinessException
-