Simulink.ProtectedModel.verifySignature
Description
Simulink.ProtectedModel.verifySignature(
verifies the digital signature on the protected model. If the signature is not valid, the
function returns an error that indicates why the signature is invalid. A signature is
invalid in the following cases:protectedModel
)
The protected model was changed after it was signed.
The protected model was not signed.
The protected model was signed with an expired certificate.
The protected model was self-signed with a certificate issued by the publisher.
The protected model was signed with a missing or invalid certificate.
The certificate in your system certificate authority store is missing or invalid.
The model was signed with an invalid key.
Examples
Input Arguments
Version History
Introduced in R2020a
See Also
Topics
- Reference Protected Models from Third Parties
- Sign a Protected Model (Simulink Coder)