I’m not sure about that specific information, but you can interrogate the signature of an on-disk executable using the code signing API (
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"