
Also known as ISC bind. This import adds utilities such as host(1), dig(1), and nslookup(1), as well as many other tools and libraries. Change-Id: I035ca46e64f1965d57019e773f4ff0ef035e4aa3
116 lines
3.5 KiB
Groff
116 lines
3.5 KiB
Groff
.\" $NetBSD: pkcs11-keygen.8,v 1.5 2014/12/10 04:37:52 christos Exp $
|
|
.\"
|
|
.\" Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
|
|
.\"
|
|
.\" Permission to use, copy, modify, and/or distribute this software for any
|
|
.\" purpose with or without fee is hereby granted, provided that the above
|
|
.\" copyright notice and this permission notice appear in all copies.
|
|
.\"
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
.\" PERFORMANCE OF THIS SOFTWARE.
|
|
.\"
|
|
.\" Id
|
|
.\"
|
|
.hy 0
|
|
.ad l
|
|
.\" Title: pkcs11\-ecgen
|
|
.\" Author:
|
|
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
|
|
.\" Date: Feb 30, 2012
|
|
.\" Manual: BIND9
|
|
.\" Source: BIND9
|
|
.\"
|
|
.TH "PKCS11\-ECGEN" "8" "Feb 30, 2012" "BIND9" "BIND9"
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.SH "NAME"
|
|
pkcs11\-keygen \- generate keys on a PKCS#11 device
|
|
.SH "SYNOPSIS"
|
|
.HP 14
|
|
\fBpkcs11\-keygen\fR {\-a\ \fIalgorithm\fR} [\fB\-b\ \fR\fB\fIkeysize\fR\fR] [\fB\-e\fR] [\fB\-i\ \fR\fB\fIid\fR\fR] [\fB\-m\ \fR\fB\fImodule\fR\fR] [\fB\-P\fR] [\fB\-p\ \fR\fB\fIPIN\fR\fR] [\fB\-q\fR] [\fB\-S\fR] [\fB\-s\ \fR\fB\fIslot\fR\fR] {label}
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
\fBpkcs11\-keygen\fR
|
|
causes a PKCS#11 device to generate a new key pair with the given
|
|
\fBlabel\fR
|
|
(which must be unique) and with
|
|
\fBkeysize\fR
|
|
bits of prime.
|
|
.SH "ARGUMENTS"
|
|
.PP
|
|
\-a \fIalgorithm\fR
|
|
.RS 4
|
|
Specify the key algorithm class: Supported classes are RSA, DSA, DH, and ECC. In addition to these strings, the
|
|
\fBalgorithm\fR
|
|
can be specified as a DNSSEC signing algorithm that will be used with this key; for example, NSEC3RSASHA1 maps to RSA, and ECDSAP256SHA256 maps to ECC. The default class is "RSA".
|
|
.RE
|
|
.PP
|
|
\-b \fIkeysize\fR
|
|
.RS 4
|
|
Create the key pair with
|
|
\fBkeysize\fR
|
|
bits of prime. For ECC keys, the only valid values are 256 and 384, and the default is 256.
|
|
.RE
|
|
.PP
|
|
\-e
|
|
.RS 4
|
|
For RSA keys only, use a large exponent.
|
|
.RE
|
|
.PP
|
|
\-i \fIid\fR
|
|
.RS 4
|
|
Create key objects with id. The id is either an unsigned short 2 byte or an unsigned long 4 byte number.
|
|
.RE
|
|
.PP
|
|
\-m \fImodule\fR
|
|
.RS 4
|
|
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.
|
|
.RE
|
|
.PP
|
|
\-P
|
|
.RS 4
|
|
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.
|
|
.RE
|
|
.PP
|
|
\-p \fIPIN\fR
|
|
.RS 4
|
|
Specify the PIN for the device. If no PIN is provided on the command line,
|
|
\fBpkcs11\-ecgen\fR
|
|
will prompt for it.
|
|
.RE
|
|
.PP
|
|
\-e
|
|
.RS 4
|
|
Quiet mode: suppress unnecessary output.
|
|
.RE
|
|
.PP
|
|
\-S
|
|
.RS 4
|
|
For Diffie\-Hellman (DH) keys only, use a special prime of 768, 1024 or 1536 bit size and base (aka generator) 2. If not specified, bit size will default to 1024.
|
|
.RE
|
|
.PP
|
|
\-s \fIslot\fR
|
|
.RS 4
|
|
Open the session with the given PKCS#11 slot. The default is slot 0.
|
|
.RE
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
\fBpkcs11\-rsagen\fR(3),
|
|
\fBpkcs11\-dsagen\fR(3),
|
|
\fBpkcs11\-list\fR(3),
|
|
\fBpkcs11\-destroy\fR(3),
|
|
\fBdnssec\-keyfromlabel\fR(3),
|
|
.SH "AUTHOR"
|
|
.PP
|
|
Internet Systems Consortium
|
|
.SH "COPYRIGHT"
|
|
Copyright \(co 2012 Internet Systems Consortium, Inc. ("ISC")
|
|
.br
|