pubkey-find

pubkey-find [OPTIONS] - < CERT-OR-KEY-FILE
pubkey-find [OPTIONS] CERT-OR-KEY-FILE

Obtains information of the public key from a certificate or certificate request in a Base-64 encoded PEM file.

Option Description

Options for the input format

--auto

Guesses the input format (default).

--cert

Input is a (PEM X.509) certificate.

--certreq

Input is a (PEM X.509) certificate request

--privkey

Input is a private key in PEM format.

--verbose

Report more details if input cannot be parsed.

Options for the output

You can use several output and processing options. They operate in the order they appear in the command.

--fingerprint

Prints the certificate fingerprint, that is, the MD5 hash.

--hash

Prints the nCore keypair hash.

--identify

Prints the key’s Security World appname(s) or ident(s).

--summary

Outputs summary information in human-readable format (default).

--thumbprint

Prints the certificate thumbprint, that is, the SHA-1 hash.

Options for further processing

--augment

Augments the kmdata file with the public key value from the input file.

--nfkmverify-options OPTIONS

Passes OPTIONS to nfkmverify. OPTIONS must be a Tcl list.
You can use several output and processing options. They operate in the order they appear in the Tcl list.

--info

Displays extensive general information about the key by running nfkminfo -k.

--verify

Verifies that the key was securely generated by running nfkmverify.

Options for controlling which kmdata key files are reported and processed

Only keys that match the condition are processed

--all

All key file(s) regardless of modification time (default).

--earliest

The least recently modified file.

--latest

Most recently modified file of those which otherwise match.

--match-appname PATTERN, --match-ident PATTERN

Whose appname or ident matches PATTERN. Default: no restriction

Option to address HSMs

--module N

Specifies the number of the module to use.

Help options

-h, --help

Displays help for pubkey-find.

-V, --version

Displays the version number of the Security World Software that deploys pubkey-find.