pkcs11-destroy.html revision 33d0a7767d53cb366039fd0ac4f63cf8a9c351b0
9b2bd54c98edb185a3985410367754ab33217362bnicholes - Copyright (C) 2009, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
9b2bd54c98edb185a3985410367754ab33217362bnicholes - Permission to use, copy, modify, and/or distribute this software for any
9b2bd54c98edb185a3985410367754ab33217362bnicholes - purpose with or without fee is hereby granted, provided that the above
9b2bd54c98edb185a3985410367754ab33217362bnicholes - copyright notice and this permission notice appear in all copies.
9b2bd54c98edb185a3985410367754ab33217362bnicholes - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9b2bd54c98edb185a3985410367754ab33217362bnicholes - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9b2bd54c98edb185a3985410367754ab33217362bnicholes - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
9b2bd54c98edb185a3985410367754ab33217362bnicholes - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
9b2bd54c98edb185a3985410367754ab33217362bnicholes - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
9b2bd54c98edb185a3985410367754ab33217362bnicholes - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
9b2bd54c98edb185a3985410367754ab33217362bnicholes - PERFORMANCE OF THIS SOFTWARE.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
16b55a35cff91315d261d1baa776138af465c4e4fuankg<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
16b55a35cff91315d261d1baa776138af465c4e4fuankg<a name="man.pkcs11-destroy"></a><div class="titlepage"></div>
9b2bd54c98edb185a3985410367754ab33217362bnicholes<p><span class="application">pkcs11-destroy</span> — destroy PKCS#11 objects</p>
9b2bd54c98edb185a3985410367754ab33217362bnicholes<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>
9b2bd54c98edb185a3985410367754ab33217362bnicholes <span class="command"><strong>pkcs11-destroy</strong></span> destroys keys stored in a
9b2bd54c98edb185a3985410367754ab33217362bnicholes PKCS#11 device, identified by their <code class="option">ID</code> or
9b2bd54c98edb185a3985410367754ab33217362bnicholes Matching keys are displayed before being destroyed. By default,
9b2bd54c98edb185a3985410367754ab33217362bnicholes there is a five second delay to allow the user to interrupt the
9b2bd54c98edb185a3985410367754ab33217362bnicholes process before the destruction takes place.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<div class="variablelist"><dl class="variablelist">
9b2bd54c98edb185a3985410367754ab33217362bnicholes<dt><span class="term">-m <em class="replaceable"><code>module</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Specify the PKCS#11 provider module. This must be the full
9b2bd54c98edb185a3985410367754ab33217362bnicholes path to a shared library object implementing the PKCS#11 API
be06f010941d039a422f1bbd7e321a1a0e92e291bnicholes for the device.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<dt><span class="term">-s <em class="replaceable"><code>slot</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Open the session with the given PKCS#11 slot. The default is
be06f010941d039a422f1bbd7e321a1a0e92e291bnicholes<dt><span class="term">-i <em class="replaceable"><code>ID</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Destroy keys with the given object ID.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<dt><span class="term">-l <em class="replaceable"><code>label</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Destroy keys with the given label.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<dt><span class="term">-p <em class="replaceable"><code>PIN</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Specify the PIN for the device. If no PIN is provided on the
9b2bd54c98edb185a3985410367754ab33217362bnicholes command line, <span class="command"><strong>pkcs11-destroy</strong></span> will prompt for it.
9b2bd54c98edb185a3985410367754ab33217362bnicholes<dt><span class="term">-w <em class="replaceable"><code>seconds</code></em></span></dt>
9b2bd54c98edb185a3985410367754ab33217362bnicholes Specify how long to pause before carrying out key destruction.
9b2bd54c98edb185a3985410367754ab33217362bnicholes The default is five seconds. If set to <code class="literal">0</code>,
9b2bd54c98edb185a3985410367754ab33217362bnicholes destruction will be immediate.
9b2bd54c98edb185a3985410367754ab33217362bnicholes <span class="citerefentry"><span class="refentrytitle">pkcs11-keygen</span>(8)</span>,
9b2bd54c98edb185a3985410367754ab33217362bnicholes <span class="citerefentry"><span class="refentrytitle">pkcs11-list</span>(8)</span>,
9b2bd54c98edb185a3985410367754ab33217362bnicholes <span class="citerefentry"><span class="refentrytitle">pkcs11-tokens</span>(8)</span>