Implemented server-side of the key authority.