logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pki --pkcs7 - Provides PKCS#7 wrap/unwrap functions

Description

       This sub-command of pki(1) provides functions to wrap/unwrap PKCS#7 containers.

Name

       pki --pkcs7 - Provides PKCS#7 wrap/unwrap functions

Options

-h,--help
              Print usage information with a summary of the available options.

       -v,--debuglevel
              Set debug level, default: 1.

       -+,--optionsfile
              Read command line options from file.

       -s,--sign
              Create PKCS#7 signed-data.

       -u,--verify
              Verify PKCS#7 signed-data.

       -e,--encrypt
              Create PKCS#7 enveloped-data.

       -e,--decrypt
              Decrypt PKCS#7 enveloped-data.

       -p,--show
              Show information about PKCS#7 container, list certificates.

       -i,--infile
              PKCS#7 input file. If not given the input is read from STDIN.

       -k,--keyfile
              Private key used for --sign and --decrypt.-c,--certfile
              Certificate for --sign, --verify and --encrypt.  Can be used multiple times.

       -g,--digestdigest
              Digest  to  use  for signature creation. One of md5, sha1, sha224, sha256, sha384, or sha512.  The
              default is determined based on the type and size of the signature key.

       -R,--rsa-paddingpadding
              Padding to use for RSA signatures. Either pkcs1 or pss, defaults to pkcs1.

See Also

pki(1)

5.9.13                                             2023-03-30                                     PKI--PKCS7(1)

Synopsis

pki--pkcs7--sign|--verify|--encrypt|--decrypt|--show [--infile] [--certfile] [--keyfile]
                   [--digestdigest] [--rsa-paddingpadding] [--debuglevel]

       pki--pkcs7--optionsfilepki--pkcs7-h | --help

See Also