Digitally sign data

If your custom app uses REST APIs for web services that require you to generate digitally signed data or to verify signed data using RSA keys, use the CryptGenerateSignature and CryptVerifySignature functions.