| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: nbsvtool.1,v 1.4 2008/07/15 12:14:13 wiz Exp $ | | 1 | .\" $NetBSD: nbsvtool.1,v 1.4.6.1 2009/03/15 20:02:24 snj Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2004-2008 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2004-2008 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Love Hörnquist Åstrand <lha@it.su.se> | | 7 | .\" by Love Hörnquist Åstrand <lha@it.su.se> |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -16,35 +16,35 @@ | | | @@ -16,35 +16,35 @@ |
16 | .\" documentation and/or other materials provided with the distribution. | | 16 | .\" documentation and/or other materials provided with the distribution. |
17 | .\" | | 17 | .\" |
18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | .\" POSSIBILITY OF SUCH DAMAGE. | | 28 | .\" POSSIBILITY OF SUCH DAMAGE. |
29 | .Dd July 15, 2008 | | 29 | .Dd March 11, 2009 |
30 | .Dt NBSVTOOL 1 | | 30 | .Dt NBSVTOOL 1 |
31 | .Os | | 31 | .Os |
32 | .Sh NAME | | 32 | .Sh NAME |
33 | .Nm nbsvtool | | 33 | .Nm nbsvtool |
34 | .Nd create and verify detached signatures of files | | 34 | .Nd create and verify detached signatures of files |
35 | .Sh SYNOPSIS | | 35 | .Sh SYNOPSIS |
36 | .Nm nbsvtool | | 36 | .Nm nbsvtool |
37 | .OP Fl v | | 37 | .Op Fl v |
38 | .Op Fl a Ar anchor-certificates | | 38 | .Op Fl a Ar anchor-certificates |
39 | .Op Fl c Ar certificate-chain | | 39 | .Op Fl c Ar certificate-chain |
40 | .Op Fl f Ar certificate-file | | 40 | .Op Fl f Ar certificate-file |
41 | .Op Fl k Ar private-key-file | | 41 | .Op Fl k Ar private-key-file |
42 | .Op Fl u Ar required-key-usage | | 42 | .Op Fl u Ar required-key-usage |
43 | .Ar command | | 43 | .Ar command |
44 | .Ar args ... | | 44 | .Ar args ... |
45 | .Sh DESCRIPTION | | 45 | .Sh DESCRIPTION |
46 | .Nm | | 46 | .Nm |
47 | is used to create and verify detached X509 signatures of files. | | 47 | is used to create and verify detached X509 signatures of files. |
48 | Private keys and certificates are expected to be PEM encoded, | | 48 | Private keys and certificates are expected to be PEM encoded, |
49 | signatures are in PEM/SMIME format. | | 49 | signatures are in PEM/SMIME format. |
50 | .\" XXX: pointer to detailed description/documentation of these formats | | 50 | .\" XXX: pointer to detailed description/documentation of these formats |