Download Administration Manual Issuer Software

Transcript
PK11 Util
Chapter 6 Issuer Software Command Line Utilities
Table 6-5
Commands for PK11Util
Command
-p7etest
Description
Perform PKCS7 encryption test (encrypt w/public key,
decrypt with module private key; requires -cert)
Usage:
pk11util -module <module> -pin <pin>
-p7etest -cert/-p7cert <Cert> -inform
DER [-slot <slot>]
Default inform is PEM.
-destest
Perform DES encryption test with a temporarily created key.
(create key, test encryption against test vector; requires -slot).
Usage:
pk11util -module <module> -pin <pin>
-slot <slot> -destest
-hmactest
Perform HMAC-SHA1 test (create key, test MAC against
test vector; requires -slot).
Usage:
pk11util -module <module> -pin <pin>
-slot <slot> -hmactest
Example:
pk11util -module nfast -pin 123456
-hmactest -slot 1
Output:
PKCS11 module loaded successfully
HMAC-SHA1 digest test PASSED
-des3cbcmactest
Perform DES3-CBC-MAC test (create key, test MAC
against test vector; requires -slot)
Usage:
pk11util -module <module> -pin <pin>
-slot <slot> -des3cbcmactest
Example:
pk11util -module nfast -pin 123456
-des3cbcmactest -slot 0
AT060-001DC-06400
TransFort Issuer Software Administration Manual • March 2008
115