User is able of creating a key that has only public or private part (server side)