Yes it is possible. There are more important questions when making a decision.
- Do you want this check to be performed automatically by your program?
- Do you want to set up your own public key infrastructure?
- Does your company already have an open signature certificate?
Depending on the answers, you may not need to write any code.
source share