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.
17
<!-- $Id: pkcs11-destroy.html,v 1.3 2009/10/06 04:40:14 tbox Exp $ -->
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
21
<title>pkcs11-destroy</title>
22
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
25
<a name="man.pkcs11-destroy"></a><div class="titlepage"></div>
26
<div class="refnamediv">
28
<p><span class="application">pkcs11-destroy</span> — destroy PKCS#11 objects</p>
30
<div class="refsynopsisdiv">
32
<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>]</p></div>
34
<div class="refsect1" lang="en">
35
<a name="id2543384"></a><h2>DESCRIPTION</h2>
37
<span><strong class="command">pkcs11-destroy</strong></span> destroys keys stored in a
38
PKCS#11 device, identified by their <code class="option">ID</code> or
39
<code class="option">label</code>.
42
Matching keys are displayed before being destroyed. There is a
43
five second delay to allow the user to interrupt the process
44
before the destruction takes place.
47
<div class="refsect1" lang="en">
48
<a name="id2543406"></a><h2>ARGUMENTS</h2>
49
<div class="variablelist"><dl>
50
<dt><span class="term">-m <em class="replaceable"><code>module</code></em></span></dt>
52
Specify the PKCS#11 provider module. This must be the full
53
path to a shared library object implementing the PKCS#11 API
56
<dt><span class="term">-s <em class="replaceable"><code>slot</code></em></span></dt>
58
Open the session with the given PKCS#11 slot. The default is
61
<dt><span class="term">-i <em class="replaceable"><code>ID</code></em></span></dt>
63
Destroy keys with the given object ID.
65
<dt><span class="term">-l <em class="replaceable"><code>label</code></em></span></dt>
67
Destroy keys with the given label.
69
<dt><span class="term">-p <em class="replaceable"><code>PIN</code></em></span></dt>
71
Specify the PIN for the device. If no PIN is provided on the
72
command line, <span><strong class="command">pkcs11-destroy</strong></span> will prompt for it.
76
<div class="refsect1" lang="en">
77
<a name="id2543507"></a><h2>SEE ALSO</h2>
79
<span class="citerefentry"><span class="refentrytitle">pkcs11-list</span>(3)</span>,
80
<span class="citerefentry"><span class="refentrytitle">pkcs11-keygen</span>(3)</span>
83
<div class="refsect1" lang="en">
84
<a name="id2543533"></a><h2>AUTHOR</h2>
85
<p><span class="corpauthor">Internet Systems Consortium</span>