2 - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
4 - Permission to use, copy, modify, and/or distribute this software for any
5 - purpose with or without fee is hereby granted, provided that the above
6 - copyright notice and this permission notice appear in all copies.
8 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 - PERFORMANCE OF THIS SOFTWARE.
19 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
20 <title>pkcs11-destroy
</title>
21 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.71.1">
23 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"refentry" lang=
"en">
24 <a name=
"man.pkcs11-destroy"></a><div class=
"titlepage"></div>
25 <div class=
"refnamediv">
27 <p><span class=
"application">pkcs11-destroy
</span> — destroy PKCS#
11 objects
</p>
29 <div class=
"refsynopsisdiv">
31 <div class=
"cmdsynopsis"><p><code class=
"command">pkcs11-destroy
</code> [
<code class=
"option">-m
<em class=
"replaceable"><code>module
</code></em></code>] [
<code class=
"option">-s
<em class=
"replaceable"><code>slot
</code></em></code>] { -i
<em class=
"replaceable"><code>ID
</code></em> | -l
<em class=
"replaceable"><code>label
</code></em> } [
<code class=
"option">-p
<em class=
"replaceable"><code>PIN
</code></em></code>] [
<code class=
"option">-w
<em class=
"replaceable"><code>seconds
</code></em></code>]
</p></div>
33 <div class=
"refsect1" lang=
"en">
34 <a name=
"id2543393"></a><h2>DESCRIPTION
</h2>
36 <span><strong class=
"command">pkcs11-destroy
</strong></span> destroys keys stored in a
37 PKCS#
11 device, identified by their
<code class=
"option">ID
</code> or
38 <code class=
"option">label
</code>.
41 Matching keys are displayed before being destroyed. By default,
42 there is a five second delay to allow the user to interrupt the
43 process before the destruction takes place.
46 <div class=
"refsect1" lang=
"en">
47 <a name=
"id2543415"></a><h2>ARGUMENTS
</h2>
48 <div class=
"variablelist"><dl>
49 <dt><span class=
"term">-m
<em class=
"replaceable"><code>module
</code></em></span></dt>
51 Specify the PKCS#
11 provider module. This must be the full
52 path to a shared library object implementing the PKCS#
11 API
55 <dt><span class=
"term">-s
<em class=
"replaceable"><code>slot
</code></em></span></dt>
57 Open the session with the given PKCS#
11 slot. The default is
60 <dt><span class=
"term">-i
<em class=
"replaceable"><code>ID
</code></em></span></dt>
62 Destroy keys with the given object ID.
64 <dt><span class=
"term">-l
<em class=
"replaceable"><code>label
</code></em></span></dt>
66 Destroy keys with the given label.
68 <dt><span class=
"term">-p
<em class=
"replaceable"><code>PIN
</code></em></span></dt>
70 Specify the PIN for the device. If no PIN is provided on the
71 command line,
<span><strong class=
"command">pkcs11-destroy
</strong></span> will prompt for it.
73 <dt><span class=
"term">-w
<em class=
"replaceable"><code>seconds
</code></em></span></dt>
75 Specify how long to pause before carrying out key destruction.
76 The default is five seconds. If set to
<code class=
"literal">0</code>,
77 destruction will be immediate.
81 <div class=
"refsect1" lang=
"en">
82 <a name=
"id2543537"></a><h2>SEE ALSO
</h2>
84 <span class=
"citerefentry"><span class=
"refentrytitle">pkcs11-list
</span>(
3)
</span>,
85 <span class=
"citerefentry"><span class=
"refentrytitle">pkcs11-keygen
</span>(
3)
</span>
88 <div class=
"refsect1" lang=
"en">
89 <a name=
"id2543563"></a><h2>AUTHOR
</h2>
90 <p><span class=
"corpauthor">Internet Systems Consortium
</span>