signfile.1
来自「IBM开发的TPM的驱动, 有少量的例子可以供参考」· 1 代码 · 共 43 行
1
43 行
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Feb 24 2004, Jeff Kravitz.\".TH signfile 1 2004-04-14 "IBM" "TPM Utilities".SH NAMEsignfile \- signs a data file.SH SYNOPSISsignfile [<options>] <key handle> <input file> <output file>.SH DESCRIPTIONThis command will perform an RSA digital signature operation on aninput file.Since the file is hashed, a file of any size may be signed..SH ARGUMENTS.TP 5key handleis an 8-hex-digit number that specifies the TPM handle assigned to thekey that is to be used for signing.It isusually obtained from the \fBloadkey\fP utilitywhen the key was loaded into the TPM. A signing-type key must be used..TP 5input fileis the name of the file containing the data to be signed..TP 5output fileThis specifies the name of the output file, which contains the signed data..SH OPTIONSThe following command line options are supported....TP 5 -k <keypass>specifies the key usage password,which is any character string, up to 256 bytes long.It specifies the password needed to use the key that signs the file.The actual "Authorization Data"passed to the TPM is the 20 byte SHA1 hash of the user-specified password..SH "SEE ALSO"loadkey(1), verifyfile(1).SH AUTHORJeff Kravitz , IBM T. J. Watson Research Center
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?