Verify digital signature on protected model
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:
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.
Verify Digital Signature of Protected Model
Verify the digital signature for the protected model
The function returns an error if the signature on the protected model cannot be verified.
protectedModel — Name of signed protected model
character vector | string scalar
Name of the signed protected model, specified as a character vector or a string scalar.
Introduced in R2020a