Add a description of netpgp_unsetvar and netpgp_list_keys_json.

This commit is contained in:
sevan 2018-05-09 23:34:25 +00:00
parent dd4097f61f
commit 909174d46f
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: libnetpgp.3,v 1.25 2018/05/09 07:59:38 wiz Exp $
.\" $NetBSD: libnetpgp.3,v 1.26 2018/05/09 23:34:25 sevan Exp $
.\"
.\" Copyright (c) 2009,2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd May 9, 2018
.Dd May 10, 2018
.Dt LIBNETPGP 3
.Os
.Sh NAME
@ -204,6 +204,8 @@ member of the
structure.
These are set using the
.Fn netpgp_setvar
function and unset using the
.Fn netpgp_unsetvar
function.
If no public key ring file is set, initial values will be taken from those
in the
@ -228,6 +230,9 @@ function returns 1 on success, 0 on failure.
To list all the keys in a keyring, the
.Fn netpgp_list_keys
function is used.
To list all the keys in a keyring as a JSON encoded string, the
.Fn netpgp_list_keys_json
function is used.
The signature subkey fields can also be displayed
using this function.
.Pp