Provide password for digital certificate
Protect a model, and then digitally sign it by using a password protected certificate.
Open and protect the model that you want to sign. For this example, protect the
Locate the certificate file that you want to use to sign the protected model. Enter the password for the certificate.
Sign the protected model by using the certificate file.
certificateFile— Certificate file to use for signing
Certificate file to use for signing the protected model, specified as a character
vector or string scalar. The certificate must be a PKCS #12 file with the extension
password— Password for certificate file
Password, specified as a string or character vector. If the certificate is encrypted for code generation, the password is required.