Validating Digitally Signed Binary

Hello. I am new to GoLang and am attempting to figure out how I would validate an x.509 signature on a signed binary (ex. .ps1) in Windows. I would like to validate it against a trusted certificate that I supply (from application truststore). I would also like it to validate the binary itself has not been modified since the signature was applied. Is there a native GoLang library that does this? I have looked into the crypto library but, this looks to be more for SSL versus signature validation.

Thank you!