private static ApiUserPublicKey ToApiUserPublicKey(UserPublicKey userPublicKey)
        {
            ApiUserPublicKey apiUserPublicKey = new ApiUserPublicKey {
                Version   = userPublicKey.Version,
                PublicKey = userPublicKey.PublicKey
            };

            return(apiUserPublicKey);
        }
        private static UserPublicKey FromApiUserPublicKey(ApiUserPublicKey apiUserPublicKey)
        {
            UserPublicKey userPublicKey = new UserPublicKey {
                Version   = apiUserPublicKey.Version,
                PublicKey = apiUserPublicKey.PublicKey
            };

            return(userPublicKey);
        }