1PKI --KEYID(1)                    strongSwan                    PKI --KEYID(1)
2
3
4

NAME

6       pki --keyid - Calculate key identifiers of a key or certificate
7

SYNOPSIS

9       pki --keyid [--in file] [--type type] [--debug level]
10
11       pki --keyid --options file
12
13       pki --keyid -h | --help
14

DESCRIPTION

16       This  sub-command  of pki(1) calculates key identifiers of private keys
17       and certificates.
18

OPTIONS

20       -h, --help
21              Print usage information with a summary of the available options.
22
23       -v, --debug level
24              Set debug level, default: 1.
25
26       -+, --options file
27              Read command line options from file.
28
29       -i, --in file
30              Input file. If not given the input is read from STDIN.
31
32       -t, --type type
33              Type of input. One of rsa-priv  (RSA  private  key),  ecdsa-priv
34              (ECDSA  private key), pub (public key), pkcs10 (PKCS#10 certifiā€
35              cate request), x509 (X.509 certificate), defaults to rsa-priv.
36

EXAMPLES

38       Calculate key identifiers of an RSA private key:
39
40         pki --keyid --in key.der
41         subjectKeyIdentifier:      6a:9c:74:d1:f8:89:79:89:f6:5a:94:e9:89:f1...
42         subjectPublicKeyInfo hash: 6e:55:dc:7e:9c:a5:58:d9:5b:e3:c7:13:14:e1...
43
44       Calculate key identifiers of an X.509 certificate:
45
46         pki --keyid --in cert.der --type x509
47         subjectKeyIdentifier:      6a:9c:74:d1:f8:89:79:89:f6:5a:94:e9:89:f1...
48         subjectPublicKeyInfo hash: 6e:55:dc:7e:9c:a5:58:d9:5b:e3:c7:13:14:e1...
49

SEE ALSO

51       pki(1)
52
53
54
555.2.0                             2013-07-31                    PKI --KEYID(1)
Impressum