extract correct java class to find certificate lifetime