Introduction of common interface for Public and Private key