To verify a certificate against a CA Certificate Chain you can use:
Set Result=$SYSTEM.Encryption.X509VerifyCertChain(Certificate, CAChainFileName)
See X509VerifyCertChain() documentation for details.
To verify the validity of a signature you can use:
Set SignIsValid=$system.Encryption.RSASHAVerify(Bitlength,Payload,Signature,SignCertificate)
See RSASHAVerify() documentation for details.
- Log in to post comments