OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 if [ $# -ne 3 ] | |
8 then | |
9 echo "Usage: `basename $0` <algorithm> <key file> <input file>" | |
10 exit -1 | |
11 fi | |
12 | |
13 ./signature_digest $1 $3 | openssl rsautl -sign -pkcs -inkey $2 | |
OLD | NEW |