This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Yalnızca UI onayı için kullanılmalıdır | |
// İş önemi olan durumlarda bu api'yi kullanmalısınız: | |
// https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?op=TCKimlikNoDogrula | |
private boolean isTCKNCorrect(String id) { | |
if (id == null) return false; | |
if (id.length() != 11) return false; | |
char[] chars = id.toCharArray(); |