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 | –helpDescription
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, –debug level
- Set debug level, default: 1.
- -+, –options file
- Read command line options from file.
- -i, –in file
- Input file. If not given the input is read from STDIN.
- -x, –keyid hex
- Smartcard or TPM private key object handle in hex format with an optional 0x prefix.
- -t, –type type
- 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:
