strongswan_pki—keyid (1) Linux Manual Page
pki –keyid – Calculate key identifiers of a key or certificate
Synopsis
[–in file|–keyid hex] [ –type type ] [ –debug level ] –options~file -h | –help
Description
This sub-command of pki(1) calculates key identifiers of private keys and certificates.
Options
-h, –help- Print usage information with a summary of the available options.
-v, –debuglevel- Set debug level, default: 1.
-+, –optionsfile- Read command line options from file.
-i, –infile- Input file. If not given the input is read from STDIN.
-x, –keyidhex- Smartcard or TPM private key object handle in hex format with an optional 0x prefix.
-t, –typetype- Type of input. One of priv (private key), rsa (RSA private key), ecdsa (ECDSA private key), bliss (BLISS private key), pub (public key), pkcs10 (PKCS#10 certificate request), x509 (X.509 certificate), defaults to priv.
Examples
Calculate key identifiers of an RSA private key:
Calculate key identifiers of an X.509 certificate:
See Also
pki(1)
