A providing apparatus that provides information required for a secure
communication to first and second devices includes a receiving unit for
receiving candidates for parameters used for the secure communication
from the first and second devices; a generating unit for generating the
information required for the secure communication based on the candidates
for the parameters received from the first and second devices; and a
transmitting unit for transmitting the information required for the
secure communication, generated by the generating unit, to the first and
second devices.