VERIFYSIGNEDBYCERT
cryptographic transform or key lookup
What changes
- Input
- plaintext or ciphertext and a key, certificate or passphrase
- Output or change
- ciphertext, plaintext, hash, signature check, or key metadata
- Return type
- int Returns 1 when signed data is unchanged; otherwise 0.
Syntax at a glance
VerifySignedByCert( Cert_ID , signed_data , signature )
Work example
Verify that a signed payload matches an expected certificate identity.
Use synthetic data in an isolated database. Follow the existing key hierarchy and keep keys and plaintext out of output.
Check your work Treat failed or null verification as untrusted and stop the protected action.
Open Microsoft Learn for full syntax, permissions, and details for your version.