adding interfaces for CryptoServer