pki --keyid
Synopsis
pki --keyid [--in file|--keyid hex] [--type priv|rsa|ecdsa|pub|pkcs10|x509]
[--id all|spk|spki] [--format pretty|hex|base64|bin]
pki --keyid --help
Description
This pki subcommand computes and displays public key identifiers.
Currently these are
-
spkforsubjkeyi.e. the SHA-1 hash ofsubjectPublicKeyand -
spkiforkeyidi.e. the SHA-1 hash ofsubjectPublicKeyInfo.
Options
--in (-i) input file, default: stdin --keyid (-x) smartcard or TPM private key object handle --type (-t) type of key, default: priv --id (-I) type of identifier, default: all --format (-f) output format, default: pretty --debug (-v) set debug level, default: 1 --options (-+) read command line options from file --help (-h) show usage information