I have added some methods in CentralAuthority.java. Need to discuss about details as it refers to many other classes.