anchor.diff:      end.
   
   connection(URI, Cert, Key) ->
  +    [{KeyType, Value, _}] = public_key:pem_decode(Key),
  +    [{_, Certificate, _}] = public_key:pem_decode(Cert),
       case http_uri:parse(URI) of
           {ok, {_, _, Name, Port, _, _}} ->
               {ok, #{name => Name,
  -                   cert => Cert,
  -                   key => Key,
  +                   cert => Certificate,
  +                   key => {KeyType, Value},
                      port => Port}};
           {error, _} = Error ->
               Error
  
positive.code: -on_load(on_load/0).
  
  -include_lib("kernel/include/inet.hrl").
  
  %% API.
  
  
negative.code:                                                {key, Key}]}) of
                  {ok, Pid} ->
                      {ok, #{docker => Pid,
                             monitor => monitor(process, Pid),
                             name => Name,
                             port => Port,
                             cert => Cert,
  