Annotation of embedaddon/strongswan/src/pki/man/pki---keyid.1.in, revision 1.1

1.1     ! misho       1: .TH "PKI \-\-KEYID" 1 "2019-04-29" "@PACKAGE_VERSION@" "strongSwan"
        !             2: .
        !             3: .SH "NAME"
        !             4: .
        !             5: pki \-\-keyid \- Calculate key identifiers of a key or certificate
        !             6: .
        !             7: .SH "SYNOPSIS"
        !             8: .
        !             9: .SY pki\ \-\-keyid
        !            10: .RB [ \-\-in
        !            11: .IR file | \fB\-\-keyid\fR
        !            12: .IR hex ]
        !            13: .OP \-\-type type
        !            14: .OP \-\-id id-type
        !            15: .OP \-\-format format
        !            16: .OP \-\-debug level
        !            17: .YS
        !            18: .
        !            19: .SY pki\ \-\-keyid
        !            20: .BI \-\-options\~ file
        !            21: .YS
        !            22: .
        !            23: .SY "pki \-\-keyid"
        !            24: .B \-h
        !            25: |
        !            26: .B \-\-help
        !            27: .YS
        !            28: .
        !            29: .SH "DESCRIPTION"
        !            30: .
        !            31: This sub-command of
        !            32: .BR pki (1)
        !            33: calculates key identifiers of private keys and certificates.
        !            34: .
        !            35: .SH "OPTIONS"
        !            36: .
        !            37: .TP
        !            38: .B "\-h, \-\-help"
        !            39: Print usage information with a summary of the available options.
        !            40: .TP
        !            41: .BI "\-v, \-\-debug " level
        !            42: Set debug level, default: 1.
        !            43: .TP
        !            44: .BI "\-+, \-\-options " file
        !            45: Read command line options from \fIfile\fR.
        !            46: .TP
        !            47: .BI "\-i, \-\-in " file
        !            48: Input file. If not given the input is read from \fISTDIN\fR.
        !            49: .TP
        !            50: .BI "\-x, \-\-keyid " hex
        !            51: Smartcard or TPM private key object handle in hex format with an optional
        !            52: 0x prefix.
        !            53: .TP
        !            54: .BI "\-t, \-\-type " type
        !            55: Type of input. One of \fIpriv\fR (private key), \fIrsa\fR (RSA private key),
        !            56: \fIecdsa\fR (ECDSA private key), \fIbliss\fR (BLISS private key),
        !            57: \fIpub\fR (public key), \fIpkcs10\fR (PKCS#10 certificate request),
        !            58: \fIx509\fR (X.509 certificate), defaults to \fIpriv\fR.
        !            59: .TP
        !            60: .BI "\-I, \-\-id " id-type
        !            61: Type of identifier. One of \fIall\fR (all identifiers), \fIspk\fR (SHA-1 hash
        !            62: of subjectPublicKey), \fIspki\fR (SHA-1 hash of subjectPublicKeyInfo), defaults
        !            63: to \fIall\fR.
        !            64: .TP
        !            65: .BI "\-f, \-\-format " format
        !            66: Output format. One of \fIpretty\fR (user-readable output), \fIhex\fR
        !            67: (hexadecimal encoding), \fIbase64\fR (Base64 encoding), \fIbin\fR (raw binary
        !            68: data), defaults to \fIpretty\fR.
        !            69: .
        !            70: .SH "EXAMPLES"
        !            71: .
        !            72: Calculate key identifiers of an RSA private key:
        !            73: .PP
        !            74: .EX
        !            75:   $ pki --keyid --in key.der
        !            76:   subjkey (SHA-1 of subjectPublicKey):
        !            77:                6a:9c:74:d1:f8:89:79:89:f6:5a:94:e9:89:f1...
        !            78:   keyid (SHA-1 of subjectPublicKeyInfo):
        !            79:                6e:55:dc:7e:9c:a5:58:d9:5b:e3:c7:13:14:e1...
        !            80: .EE
        !            81: .PP
        !            82: Calculate key identifiers of an X.509 certificate:
        !            83: .PP
        !            84: .EX
        !            85:   $ pki --keyid --in cert.der --type x509
        !            86:   subjkey (SHA-1 of subjectPublicKey):
        !            87:                6a:9c:74:d1:f8:89:79:89:f6:5a:94:e9:89:f1...
        !            88:   keyid (SHA-1 of subjectPublicKeyInfo):
        !            89:                6e:55:dc:7e:9c:a5:58:d9:5b:e3:c7:13:14:e1...
        !            90: .EE
        !            91: .PP
        !            92: Calculate keyid in simple hex encoding of an X.509 certificate:
        !            93: .PP
        !            94: .EX
        !            95:   $ pki --keyid --in cert.der --type x509 --id spki --format hex
        !            96:   6e55dc7e9ca558d95be3c71314e1...
        !            97: .EE
        !            98: .PP
        !            99: .
        !           100: .SH "SEE ALSO"
        !           101: .
        !           102: .BR pki (1)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>