gnupg: The quick key manipulation interface

 
 4.5.3 The quick key manipulation interface
 ------------------------------------------
 
 Recent versions of GnuPG have an interface to manipulate keys without
 using the interactive command '--edit-key'.  This interface was added
 mainly for the benefit of GPGME (please consider using GPGME, see the
 manual subsection "Programmatic use of GnuPG"). This interface is
 described in the subsection "How to manage your keys".