Communication device, method, and program for verifying the implementation of the software rights