manpagez: man pages & more
info gnupg
Home | html | info | man

File: gnupg.info,  Node: GPGSM EXPORT,  Next: GPGSM IMPORT,  Prev: GPGSM LISTKEYS,  Up: GPGSM Protocol

5.6.7 Export certificates
-------------------------

To export certificate from the internal key database the command:

       EXPORT [--data [--armor] [--base64]] [--] PATTERN

   is used.  To allow multiple patterns (which are ORed) quoting is
required: Spaces are to be translated into "+" or into "%20"; in turn
this requires that the usual escape quoting rules are done.

   If the '--data' option has not been given, the format of the output
depends on what was set with the 'OUTPUT' command.  When using PEM
encoding a few informational lines are prepended.

   If the '--data' has been given, a target set via 'OUTPUT' is ignored
and the data is returned inline using standard 'D'-lines.  This avoids
the need for an extra file descriptor.  In this case the options
'--armor' and '--base64' may be used in the same way as with the
'OUTPUT' command.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.