anchor.diff:  %% This info can be used to verify identity basing on certificate info.
   %% @end
   %%--------------------------------------------------------------------
  --spec get_public_key(Auth :: oz_endpoint:auth(), ID :: identity:id()) ->
  -    {ok, identity:public_key()} |
  +-spec get_public_key(Auth :: oz_endpoint:auth(), ID :: binary()) ->
  +    {ok, PublicKey :: term()} |
       {error, Reason :: term()}.
   get_public_key(Auth, ID) ->
       ?run(fun() ->
           EncodedID = binary_to_list(http_utils:url_encode(ID)),
           URN = "/publickey/" ++ EncodedID,
           {ok, 200, _ResponseHeaders, ResponseBody} =
  -            oz_endpoint:noauth_request(Auth, URN, get, [], [insecure]),
  +            oz_endpoint:noauth_request(Auth, URN, get, []),
           Data = json_utils:decode(ResponseBody),
           EncodedPublicKey = proplists:get_value(<<"publicKey">>, Data),
           PublicKey = binary_to_term(base64:decode(EncodedPublicKey)),
  
positive.code: %%% cited in 'LICENSE.txt'
  %%% @end
  %%%-------------------------------------------------------------------
  %%% @doc This module allows identity info retrieval from OZ.
  %%% @end
  %%%-------------------------------------------------------------------
  
  
negative.code: %% @doc Setups identity info (public key) in OZ for given ID.
  %% @end
  %%--------------------------------------------------------------------
  -spec set_public_key(Auth :: oz_endpoint:auth(), ID :: binary(),
      PublicKey :: term()) ->
      ok | {error, Reason :: term()}.
  set_public_key(Auth, ID, PublicKey) ->
      ?run(fun() ->
  