pki---pub man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

PKI --PUB(1)			  strongSwan			  PKI --PUB(1)

NAME
       pki --pub - Extract a public key from a private key or certificate

SYNOPSIS
       pki --pub [--in file|--keyid hex] [--type type] [--outform encoding]
		 [--debug level]

       pki --pub --options file

       pki --pub -h | --help

DESCRIPTION
       This sub-command of pki(1) extracts public keys from a 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.

       -t, --type type
	      Type  of	input. One of rsa (RSA private key), ecdsa (ECDSA pri‐
	      vate  key),  pub	(public	 key),	pkcs10	(PKCS#10   certificate
	      request), or x509 (X.509 certificate), defaults to rsa.

       -f, --outform encoding
	      Encoding	of  the	 extracted public key. One of der (ASN.1 DER),
	      pem (Base64 PEM), dnskey (RFC 3110 DNS key), or sshkey (RFC 4253
	      SSH key), defaults to der.

EXAMPLES
       Extract the public key from an RSA private key:

	 pki --pub --in key.der > pub.der

       Extract the public key from an X.509 certificate:

	 pki --pub --in cert.der --type x509 > pub.der

SEE ALSO
       pki(1)

5.1.3				  2013-07-31			  PKI --PUB(1)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net