pkcs11-keygen(8)


NAME

   pkcs11-keygen - generate keys on a PKCS#11 device

SYNOPSIS

   pkcs11-keygen {-a algorithm} [-b keysize] [-e] [-i id] [-m module] [-P]
                 [-p PIN] [-q] [-S] [-s slot] {label}

DESCRIPTION

   pkcs11-keygen causes a PKCS#11 device to generate a new key pair with
   the given label (which must be unique) and with keysize bits of prime.

ARGUMENTS

   -a algorithm
       Specify the key algorithm class: Supported classes are RSA, DSA,
       DH, and ECC. In addition to these strings, the algorithm 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".

   -b keysize
       Create the key pair with keysize bits of prime. For ECC keys, the
       only valid values are 256 and 384, and the default is 256.

   -e
       For RSA keys only, use a large exponent.

   -i id
       Create key objects with id. The id is either an unsigned short 2
       byte or an unsigned long 4 byte number.

   -m module
       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.

   -P
       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.

   -p PIN
       Specify the PIN for the device. If no PIN is provided on the
       command line, pkcs11-ecgen will prompt for it.

   -e
       Quiet mode: suppress unnecessary output.

   -S
       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.

   -s slot
       Open the session with the given PKCS#11 slot. The default is slot
       0.

SEE ALSO

   pkcs11-rsagen(3), pkcs11-dsagen(3), pkcs11-list(3), pkcs11-destroy(3),
   dnssec-keyfromlabel(3),

AUTHOR

   Internet Systems Consortium

COPYRIGHT

   Copyright  2012 Internet Systems Consortium, Inc. ("ISC")





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.