Create signature file
hello.sp7 for file
hello. The private key is found in file
key, the matching certificate is in
cert, additional certificates from
cert-chain are included in the created signature.
nbsvtool -k key -f cert -c cert-chain sign hello hello.sp7
Verify that the signature
hello.sp7 is valid for file
hello and that the signing certificate allows code signing. Certificates in
anchor-file are considered trusted, and there must be a certificate chain from one of those certificates to the signing certificate.
nbsvtool -a anchor-file verify-code hello hello.sp7