3 .\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
5 .\" Permission to use, copy, modify, and/or distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 .\" PERFORMANCE OF THIS SOFTWARE.
17 .\" Id: pkcs11-keygen.8,v 1.4 2009/10/06 04:40:14 tbox Exp
21 .\" Title: pkcs11\-keygen
23 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
24 .\" Date: Sep 18, 2009
28 .TH "PKCS11\-KEYGEN" "8" "Sep 18, 2009" "BIND9" "BIND9"
29 .\" disable hyphenation
31 .\" disable justification (adjust text to left margin only)
34 pkcs11\-keygen \- generate RSA keys on a PKCS#11 device
37 \fBpkcs11\-keygen\fR [\fB\-P\fR] [\fB\-m\ \fR\fB\fImodule\fR\fR] [\fB\-s\ \fR\fB\fIslot\fR\fR] [\fB\-e\fR] {\-b\ \fIkeysize\fR} {\-l\ \fIlabel\fR} [\fB\-i\ \fR\fB\fIid\fR\fR] [\fB\-p\ \fR\fB\fIPIN\fR\fR]
41 causes a PKCS#11 device to generate a new RSA key pair with the specified
50 Set the new private key to be non\-sensitive and extractable. The allows the private key data to be read from the PKCS#11 device. The default is for private keys to be sensitive and non\-extractable.
55 Specify the PKCS#11 provider module. This must be the full path to a shared library object implementing the PKCS#11 API for the device.
60 Open the session with the given PKCS#11 slot. The default is slot 0.
70 Create the key pair with
77 Create key objects with the given label. This name must be unique.
82 Create key objects with id. The id is either an unsigned short 2 byte or an unsigned long 4 byte number.
87 Specify the PIN for the device. If no PIN is provided on the command line,
93 \fBpkcs11\-list\fR(3),
94 \fBpkcs11\-destroy\fR(3),
95 \fBdnssec\-keyfromlabel\fR(3),
98 Some PKCS#11 providers crash with big public exponent.
101 Internet Systems Consortium
103 Copyright \(co 2009 Internet Systems Consortium, Inc. ("ISC")