|
Packit Service |
4684c1 |
/* -*- buffer-read-only: t -*- vi: set ro:
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* DO NOT EDIT THIS FILE (p11tool-args.c)
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* It has been AutoGen-ed
|
|
Packit Service |
4684c1 |
* From the definitions p11tool-args.def
|
|
Packit Service |
4684c1 |
* and the template file options
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Generated from AutoOpts 42:1:17 templates.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* AutoOpts is a copyrighted work. This source file is not encumbered
|
|
Packit Service |
4684c1 |
* by AutoOpts licensing, but is provided under the licensing terms chosen
|
|
Packit Service |
4684c1 |
* by the p11tool author or copyright holder. AutoOpts is
|
|
Packit Service |
4684c1 |
* licensed under the terms of the LGPL. The redistributable library
|
|
Packit Service |
4684c1 |
* (``libopts'') is licensed under the terms of either the LGPL or, at the
|
|
Packit Service |
4684c1 |
* users discretion, the BSD license. See the AutoOpts and/or libopts sources
|
|
Packit Service |
4684c1 |
* for details.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* The p11tool program is copyrighted and licensed
|
|
Packit Service |
4684c1 |
* under the following terms:
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.
|
|
Packit Service |
4684c1 |
* This is free software. It is licensed for use, modification and
|
|
Packit Service |
4684c1 |
* redistribution under the terms of the GNU General Public License,
|
|
Packit Service |
4684c1 |
* version 3 or later <http://gnu.org/licenses/gpl.html>
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* p11tool is free software: you can redistribute it and/or modify it
|
|
Packit Service |
4684c1 |
* under the terms of the GNU General Public License as published by the
|
|
Packit Service |
4684c1 |
* Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
4684c1 |
* (at your option) any later version.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* p11tool is distributed in the hope that it will be useful, but
|
|
Packit Service |
4684c1 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
4684c1 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit Service |
4684c1 |
* See the GNU General Public License for more details.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* You should have received a copy of the GNU General Public License along
|
|
Packit Service |
4684c1 |
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef __doxygen__
|
|
Packit Service |
4684c1 |
#define OPTION_CODE_COMPILE 1
|
|
Packit Service |
4684c1 |
#include "p11tool-args.h"
|
|
Packit Service |
4684c1 |
#include <sys/types.h>
|
|
Packit Service |
4684c1 |
#include <sys/stat.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#include <errno.h>
|
|
Packit Service |
4684c1 |
#include <fcntl.h>
|
|
Packit Service |
4684c1 |
#include <limits.h>
|
|
Packit Service |
4684c1 |
#include <stdio.h>
|
|
Packit Service |
4684c1 |
#include <stdlib.h>
|
|
Packit Service |
4684c1 |
#include <string.h>
|
|
Packit Service |
4684c1 |
#include <unistd.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifdef __cplusplus
|
|
Packit Service |
4684c1 |
extern "C" {
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
extern FILE * option_usage_fp;
|
|
Packit Service |
4684c1 |
#define zCopyright (p11tool_opt_strs+0)
|
|
Packit Service |
4684c1 |
#define zLicenseDescrip (p11tool_opt_strs+283)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef NULL
|
|
Packit Service |
4684c1 |
# define NULL 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* static const strings for p11tool options
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static char const p11tool_opt_strs[5984] =
|
|
Packit Service |
4684c1 |
/* 0 */ "p11tool 3.6.14\n"
|
|
Packit Service |
4684c1 |
"Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.\n"
|
|
Packit Service |
4684c1 |
"This is free software. It is licensed for use, modification and\n"
|
|
Packit Service |
4684c1 |
"redistribution under the terms of the GNU General Public License,\n"
|
|
Packit Service |
4684c1 |
"version 3 or later <http://gnu.org/licenses/gpl.html>\n\0"
|
|
Packit Service |
4684c1 |
/* 283 */ "p11tool is free software: you can redistribute it and/or modify it under\n"
|
|
Packit Service |
4684c1 |
"the terms of the GNU General Public License as published by the Free\n"
|
|
Packit Service |
4684c1 |
"Software Foundation, either version 3 of the License, or (at your option)\n"
|
|
Packit Service |
4684c1 |
"any later version.\n\n"
|
|
Packit Service |
4684c1 |
"p11tool is distributed in the hope that it will be useful, but WITHOUT ANY\n"
|
|
Packit Service |
4684c1 |
"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n"
|
|
Packit Service |
4684c1 |
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\n"
|
|
Packit Service |
4684c1 |
"details.\n\n"
|
|
Packit Service |
4684c1 |
"You should have received a copy of the GNU General Public License along\n"
|
|
Packit Service |
4684c1 |
"with this program. If not, see <http://www.gnu.org/licenses/>.\n\0"
|
|
Packit Service |
4684c1 |
/* 886 */ "Tokens:\0"
|
|
Packit Service |
4684c1 |
/* 894 */ "List all available tokens\0"
|
|
Packit Service |
4684c1 |
/* 920 */ "LIST_TOKENS\0"
|
|
Packit Service |
4684c1 |
/* 932 */ "list-tokens\0"
|
|
Packit Service |
4684c1 |
/* 944 */ "List the URLs available tokens\0"
|
|
Packit Service |
4684c1 |
/* 975 */ "LIST_TOKEN_URLS\0"
|
|
Packit Service |
4684c1 |
/* 991 */ "list-token-urls\0"
|
|
Packit Service |
4684c1 |
/* 1007 */ "List all available mechanisms in a token\0"
|
|
Packit Service |
4684c1 |
/* 1048 */ "LIST_MECHANISMS\0"
|
|
Packit Service |
4684c1 |
/* 1064 */ "list-mechanisms\0"
|
|
Packit Service |
4684c1 |
/* 1080 */ "Initializes a PKCS #11 token\0"
|
|
Packit Service |
4684c1 |
/* 1109 */ "INITIALIZE\0"
|
|
Packit Service |
4684c1 |
/* 1120 */ "initialize\0"
|
|
Packit Service |
4684c1 |
/* 1131 */ "Initializes/Resets a PKCS #11 token user PIN\0"
|
|
Packit Service |
4684c1 |
/* 1176 */ "INITIALIZE_PIN\0"
|
|
Packit Service |
4684c1 |
/* 1191 */ "initialize-pin\0"
|
|
Packit Service |
4684c1 |
/* 1206 */ "Initializes/Resets a PKCS #11 token security officer PIN.\0"
|
|
Packit Service |
4684c1 |
/* 1264 */ "INITIALIZE_SO_PIN\0"
|
|
Packit Service |
4684c1 |
/* 1282 */ "initialize-so-pin\0"
|
|
Packit Service |
4684c1 |
/* 1300 */ "Specify the PIN to use on token operations\0"
|
|
Packit Service |
4684c1 |
/* 1343 */ "SET_PIN\0"
|
|
Packit Service |
4684c1 |
/* 1351 */ "set-pin\0"
|
|
Packit Service |
4684c1 |
/* 1359 */ "Specify the Security Officer's PIN to use on token initialization\0"
|
|
Packit Service |
4684c1 |
/* 1425 */ "SET_SO_PIN\0"
|
|
Packit Service |
4684c1 |
/* 1436 */ "set-so-pin\0"
|
|
Packit Service |
4684c1 |
/* 1447 */ "Object listing:\0"
|
|
Packit Service |
4684c1 |
/* 1463 */ "List all available objects in a token\0"
|
|
Packit Service |
4684c1 |
/* 1501 */ "LIST_ALL\0"
|
|
Packit Service |
4684c1 |
/* 1510 */ "list-all\0"
|
|
Packit Service |
4684c1 |
/* 1519 */ "List all available certificates in a token\0"
|
|
Packit Service |
4684c1 |
/* 1562 */ "LIST_ALL_CERTS\0"
|
|
Packit Service |
4684c1 |
/* 1577 */ "list-all-certs\0"
|
|
Packit Service |
4684c1 |
/* 1592 */ "List all certificates that have an associated private key\0"
|
|
Packit Service |
4684c1 |
/* 1650 */ "LIST_CERTS\0"
|
|
Packit Service |
4684c1 |
/* 1661 */ "list-certs\0"
|
|
Packit Service |
4684c1 |
/* 1672 */ "List all available private keys in a token\0"
|
|
Packit Service |
4684c1 |
/* 1715 */ "LIST_ALL_PRIVKEYS\0"
|
|
Packit Service |
4684c1 |
/* 1733 */ "list-all-privkeys\0"
|
|
Packit Service |
4684c1 |
/* 1751 */ "an alias for the 'list-all-privkeys' option\0"
|
|
Packit Service |
4684c1 |
/* 1795 */ "list-privkeys\0"
|
|
Packit Service |
4684c1 |
/* 1809 */ "list-keys\0"
|
|
Packit Service |
4684c1 |
/* 1819 */ "List all available certificates marked as trusted\0"
|
|
Packit Service |
4684c1 |
/* 1869 */ "LIST_ALL_TRUSTED\0"
|
|
Packit Service |
4684c1 |
/* 1886 */ "list-all-trusted\0"
|
|
Packit Service |
4684c1 |
/* 1903 */ "Export the object specified by the URL\0"
|
|
Packit Service |
4684c1 |
/* 1942 */ "EXPORT\0"
|
|
Packit Service |
4684c1 |
/* 1949 */ "export\0"
|
|
Packit Service |
4684c1 |
/* 1956 */ "Export the certificate object specified by the URL\0"
|
|
Packit Service |
4684c1 |
/* 2007 */ "EXPORT_STAPLED\0"
|
|
Packit Service |
4684c1 |
/* 2022 */ "export-stapled\0"
|
|
Packit Service |
4684c1 |
/* 2037 */ "Export the certificate specified by the URL and its chain of trust\0"
|
|
Packit Service |
4684c1 |
/* 2104 */ "EXPORT_CHAIN\0"
|
|
Packit Service |
4684c1 |
/* 2117 */ "export-chain\0"
|
|
Packit Service |
4684c1 |
/* 2130 */ "Export the public key for a private key\0"
|
|
Packit Service |
4684c1 |
/* 2170 */ "EXPORT_PUBKEY\0"
|
|
Packit Service |
4684c1 |
/* 2184 */ "export-pubkey\0"
|
|
Packit Service |
4684c1 |
/* 2198 */ "List information on an available object in a token\0"
|
|
Packit Service |
4684c1 |
/* 2249 */ "INFO\0"
|
|
Packit Service |
4684c1 |
/* 2254 */ "info\0"
|
|
Packit Service |
4684c1 |
/* 2259 */ "an alias for the 'mark-trusted' option\0"
|
|
Packit Service |
4684c1 |
/* 2298 */ "trusted\0"
|
|
Packit Service |
4684c1 |
/* 2306 */ "an alias for the 'mark-distrusted' option\0"
|
|
Packit Service |
4684c1 |
/* 2348 */ "distrusted\0"
|
|
Packit Service |
4684c1 |
/* 2359 */ "Key generation:\0"
|
|
Packit Service |
4684c1 |
/* 2375 */ "Generate private-public key pair of given type\0"
|
|
Packit Service |
4684c1 |
/* 2422 */ "GENERATE_PRIVKEY\0"
|
|
Packit Service |
4684c1 |
/* 2439 */ "generate-privkey\0"
|
|
Packit Service |
4684c1 |
/* 2456 */ "Generate an RSA private-public key pair (deprecated)\0"
|
|
Packit Service |
4684c1 |
/* 2509 */ "GENERATE_RSA\0"
|
|
Packit Service |
4684c1 |
/* 2522 */ "generate-rsa\0"
|
|
Packit Service |
4684c1 |
/* 2535 */ "Generate a DSA private-public key pair (deprecated)\0"
|
|
Packit Service |
4684c1 |
/* 2587 */ "GENERATE_DSA\0"
|
|
Packit Service |
4684c1 |
/* 2600 */ "generate-dsa\0"
|
|
Packit Service |
4684c1 |
/* 2613 */ "Generate an ECDSA private-public key pair (deprecated)\0"
|
|
Packit Service |
4684c1 |
/* 2668 */ "GENERATE_ECC\0"
|
|
Packit Service |
4684c1 |
/* 2681 */ "generate-ecc\0"
|
|
Packit Service |
4684c1 |
/* 2694 */ "Specify the number of bits for the key generate\0"
|
|
Packit Service |
4684c1 |
/* 2742 */ "BITS\0"
|
|
Packit Service |
4684c1 |
/* 2747 */ "bits\0"
|
|
Packit Service |
4684c1 |
/* 2752 */ "Specify the curve used for EC key generation\0"
|
|
Packit Service |
4684c1 |
/* 2797 */ "CURVE\0"
|
|
Packit Service |
4684c1 |
/* 2803 */ "curve\0"
|
|
Packit Service |
4684c1 |
/* 2809 */ "Specify the security level\0"
|
|
Packit Service |
4684c1 |
/* 2836 */ "SEC_PARAM\0"
|
|
Packit Service |
4684c1 |
/* 2846 */ "sec-param\0"
|
|
Packit Service |
4684c1 |
/* 2856 */ "Writing objects:\0"
|
|
Packit Service |
4684c1 |
/* 2873 */ "Set the CKA_ID (in hex) for the specified by the URL object\0"
|
|
Packit Service |
4684c1 |
/* 2933 */ "SET_ID\0"
|
|
Packit Service |
4684c1 |
/* 2940 */ "set-id\0"
|
|
Packit Service |
4684c1 |
/* 2947 */ "Set the CKA_LABEL for the specified by the URL object\0"
|
|
Packit Service |
4684c1 |
/* 3001 */ "SET_LABEL\0"
|
|
Packit Service |
4684c1 |
/* 3011 */ "set-label\0"
|
|
Packit Service |
4684c1 |
/* 3021 */ "Writes the loaded objects to a PKCS #11 token\0"
|
|
Packit Service |
4684c1 |
/* 3067 */ "WRITE\0"
|
|
Packit Service |
4684c1 |
/* 3073 */ "write\0"
|
|
Packit Service |
4684c1 |
/* 3079 */ "Deletes the objects matching the given PKCS #11 URL\0"
|
|
Packit Service |
4684c1 |
/* 3131 */ "DELETE\0"
|
|
Packit Service |
4684c1 |
/* 3138 */ "delete\0"
|
|
Packit Service |
4684c1 |
/* 3145 */ "Sets a label for the write operation\0"
|
|
Packit Service |
4684c1 |
/* 3182 */ "LABEL\0"
|
|
Packit Service |
4684c1 |
/* 3188 */ "label\0"
|
|
Packit Service |
4684c1 |
/* 3194 */ "Sets an ID for the write operation\0"
|
|
Packit Service |
4684c1 |
/* 3229 */ "ID\0"
|
|
Packit Service |
4684c1 |
/* 3232 */ "id\0"
|
|
Packit Service |
4684c1 |
/* 3235 */ "Marks the generated key to be a wrapping key\0"
|
|
Packit Service |
4684c1 |
/* 3280 */ "MARK_WRAP\0"
|
|
Packit Service |
4684c1 |
/* 3290 */ "no-mark-wrap\0"
|
|
Packit Service |
4684c1 |
/* 3303 */ "no\0"
|
|
Packit Service |
4684c1 |
/* 3306 */ "Marks the object to be written as trusted\0"
|
|
Packit Service |
4684c1 |
/* 3348 */ "MARK_TRUSTED\0"
|
|
Packit Service |
4684c1 |
/* 3361 */ "no-mark-trusted\0"
|
|
Packit Service |
4684c1 |
/* 3377 */ "When retrieving objects, it requires the objects to be distrusted\n"
|
|
Packit Service |
4684c1 |
"(blacklisted)\0"
|
|
Packit Service |
4684c1 |
/* 3457 */ "MARK_DISTRUSTED\0"
|
|
Packit Service |
4684c1 |
/* 3473 */ "mark-distrusted\0"
|
|
Packit Service |
4684c1 |
/* 3489 */ "Marks the object to be written for decryption\0"
|
|
Packit Service |
4684c1 |
/* 3535 */ "MARK_DECRYPT\0"
|
|
Packit Service |
4684c1 |
/* 3548 */ "no-mark-decrypt\0"
|
|
Packit Service |
4684c1 |
/* 3564 */ "Marks the object to be written for signature generation\0"
|
|
Packit Service |
4684c1 |
/* 3620 */ "MARK_SIGN\0"
|
|
Packit Service |
4684c1 |
/* 3630 */ "no-mark-sign\0"
|
|
Packit Service |
4684c1 |
/* 3643 */ "Marks the object to be written as a CA\0"
|
|
Packit Service |
4684c1 |
/* 3682 */ "MARK_CA\0"
|
|
Packit Service |
4684c1 |
/* 3690 */ "no-mark-ca\0"
|
|
Packit Service |
4684c1 |
/* 3701 */ "Marks the object to be written as private\0"
|
|
Packit Service |
4684c1 |
/* 3743 */ "MARK_PRIVATE\0"
|
|
Packit Service |
4684c1 |
/* 3756 */ "no-mark-private\0"
|
|
Packit Service |
4684c1 |
/* 3772 */ "an alias for the 'mark-ca' option\0"
|
|
Packit Service |
4684c1 |
/* 3806 */ "ca\0"
|
|
Packit Service |
4684c1 |
/* 3809 */ "an alias for the 'mark-private' option\0"
|
|
Packit Service |
4684c1 |
/* 3848 */ "private\0"
|
|
Packit Service |
4684c1 |
/* 3856 */ "Provide a hex encoded secret key\0"
|
|
Packit Service |
4684c1 |
/* 3889 */ "SECRET_KEY\0"
|
|
Packit Service |
4684c1 |
/* 3900 */ "secret-key\0"
|
|
Packit Service |
4684c1 |
/* 3911 */ "Private key file to use\0"
|
|
Packit Service |
4684c1 |
/* 3935 */ "LOAD_PRIVKEY\0"
|
|
Packit Service |
4684c1 |
/* 3948 */ "load-privkey\0"
|
|
Packit Service |
4684c1 |
/* 3961 */ "Public key file to use\0"
|
|
Packit Service |
4684c1 |
/* 3984 */ "LOAD_PUBKEY\0"
|
|
Packit Service |
4684c1 |
/* 3996 */ "load-pubkey\0"
|
|
Packit Service |
4684c1 |
/* 4008 */ "Certificate file to use\0"
|
|
Packit Service |
4684c1 |
/* 4032 */ "LOAD_CERTIFICATE\0"
|
|
Packit Service |
4684c1 |
/* 4049 */ "load-certificate\0"
|
|
Packit Service |
4684c1 |
/* 4066 */ "Other options:\0"
|
|
Packit Service |
4684c1 |
/* 4081 */ "Enable debugging\0"
|
|
Packit Service |
4684c1 |
/* 4098 */ "DEBUG\0"
|
|
Packit Service |
4684c1 |
/* 4104 */ "debug\0"
|
|
Packit Service |
4684c1 |
/* 4110 */ "Output file\0"
|
|
Packit Service |
4684c1 |
/* 4122 */ "OUTFILE\0"
|
|
Packit Service |
4684c1 |
/* 4130 */ "outfile\0"
|
|
Packit Service |
4684c1 |
/* 4138 */ "Force (user) login to token\0"
|
|
Packit Service |
4684c1 |
/* 4166 */ "LOGIN\0"
|
|
Packit Service |
4684c1 |
/* 4172 */ "no-login\0"
|
|
Packit Service |
4684c1 |
/* 4181 */ "Force security officer login to token\0"
|
|
Packit Service |
4684c1 |
/* 4219 */ "SO_LOGIN\0"
|
|
Packit Service |
4684c1 |
/* 4228 */ "no-so-login\0"
|
|
Packit Service |
4684c1 |
/* 4240 */ "an alias for the 'so-login' option\0"
|
|
Packit Service |
4684c1 |
/* 4275 */ "admin-login\0"
|
|
Packit Service |
4684c1 |
/* 4287 */ "Tests the signature operation of the provided object\0"
|
|
Packit Service |
4684c1 |
/* 4340 */ "TEST_SIGN\0"
|
|
Packit Service |
4684c1 |
/* 4350 */ "test-sign\0"
|
|
Packit Service |
4684c1 |
/* 4360 */ "Sign with a specific signature algorithm\0"
|
|
Packit Service |
4684c1 |
/* 4401 */ "SIGN_PARAMS\0"
|
|
Packit Service |
4684c1 |
/* 4413 */ "sign-params\0"
|
|
Packit Service |
4684c1 |
/* 4425 */ "Hash algorithm to use for signing\0"
|
|
Packit Service |
4684c1 |
/* 4459 */ "HASH\0"
|
|
Packit Service |
4684c1 |
/* 4464 */ "hash\0"
|
|
Packit Service |
4684c1 |
/* 4469 */ "Generate random data\0"
|
|
Packit Service |
4684c1 |
/* 4490 */ "GENERATE_RANDOM\0"
|
|
Packit Service |
4684c1 |
/* 4506 */ "generate-random\0"
|
|
Packit Service |
4684c1 |
/* 4522 */ "Use PKCS #8 format for private keys\0"
|
|
Packit Service |
4684c1 |
/* 4558 */ "PKCS8\0"
|
|
Packit Service |
4684c1 |
/* 4564 */ "pkcs8\0"
|
|
Packit Service |
4684c1 |
/* 4570 */ "Use DER/RAW format for input\0"
|
|
Packit Service |
4684c1 |
/* 4599 */ "INDER\0"
|
|
Packit Service |
4684c1 |
/* 4605 */ "no-inder\0"
|
|
Packit Service |
4684c1 |
/* 4614 */ "an alias for the 'inder' option\0"
|
|
Packit Service |
4684c1 |
/* 4646 */ "inraw\0"
|
|
Packit Service |
4684c1 |
/* 4652 */ "Use DER format for output certificates, private keys, and DH parameters\0"
|
|
Packit Service |
4684c1 |
/* 4724 */ "OUTDER\0"
|
|
Packit Service |
4684c1 |
/* 4731 */ "no-outder\0"
|
|
Packit Service |
4684c1 |
/* 4741 */ "an alias for the 'outder' option\0"
|
|
Packit Service |
4684c1 |
/* 4774 */ "outraw\0"
|
|
Packit Service |
4684c1 |
/* 4781 */ "Specify the PKCS #11 provider library\0"
|
|
Packit Service |
4684c1 |
/* 4819 */ "PROVIDER\0"
|
|
Packit Service |
4684c1 |
/* 4828 */ "provider\0"
|
|
Packit Service |
4684c1 |
/* 4837 */ "Specify parameters for the PKCS #11 provider library (deprecated)\0"
|
|
Packit Service |
4684c1 |
/* 4903 */ "PROVIDER_OPTS\0"
|
|
Packit Service |
4684c1 |
/* 4917 */ "provider-opts\0"
|
|
Packit Service |
4684c1 |
/* 4931 */ "Print detailed URLs\0"
|
|
Packit Service |
4684c1 |
/* 4951 */ "DETAILED_URL\0"
|
|
Packit Service |
4684c1 |
/* 4964 */ "no-detailed-url\0"
|
|
Packit Service |
4684c1 |
/* 4980 */ "Print a compact listing using only the URLs\0"
|
|
Packit Service |
4684c1 |
/* 5024 */ "ONLY_URLS\0"
|
|
Packit Service |
4684c1 |
/* 5034 */ "only-urls\0"
|
|
Packit Service |
4684c1 |
/* 5044 */ "Disable all interaction with the tool\0"
|
|
Packit Service |
4684c1 |
/* 5082 */ "BATCH\0"
|
|
Packit Service |
4684c1 |
/* 5088 */ "batch\0"
|
|
Packit Service |
4684c1 |
/* 5094 */ "display extended usage information and exit\0"
|
|
Packit Service |
4684c1 |
/* 5138 */ "help\0"
|
|
Packit Service |
4684c1 |
/* 5143 */ "extended usage information passed thru pager\0"
|
|
Packit Service |
4684c1 |
/* 5188 */ "more-help\0"
|
|
Packit Service |
4684c1 |
/* 5198 */ "output version information and exit\0"
|
|
Packit Service |
4684c1 |
/* 5234 */ "version\0"
|
|
Packit Service |
4684c1 |
/* 5242 */ "P11TOOL\0"
|
|
Packit Service |
4684c1 |
/* 5250 */ "p11tool - GnuTLS PKCS #11 tool\n"
|
|
Packit Service |
4684c1 |
"Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [url]\n\0"
|
|
Packit Service |
4684c1 |
/* 5345 */ "bugs@gnutls.org\0"
|
|
Packit Service |
4684c1 |
/* 5361 */ "\n\0"
|
|
Packit Service |
4684c1 |
/* 5363 */ "Program that allows operations on PKCS #11 smart cards and security\n"
|
|
Packit Service |
4684c1 |
"modules.\n\n"
|
|
Packit Service |
4684c1 |
"To use PKCS #11 tokens with GnuTLS the p11-kit configuration files need to\n"
|
|
Packit Service |
4684c1 |
"be setup. That is create a .module file in /etc/pkcs11/modules with the\n"
|
|
Packit Service |
4684c1 |
"contents 'module: /path/to/pkcs11.so'. Alternatively the configuration\n"
|
|
Packit Service |
4684c1 |
"file /etc/gnutls/pkcs11.conf has to exist and contain a number of lines of\n"
|
|
Packit Service |
4684c1 |
"the form 'load=/usr/lib/opensc-pkcs11.so'.\n\n"
|
|
Packit Service |
4684c1 |
"You can provide the PIN to be used for the PKCS #11 operations with the\n"
|
|
Packit Service |
4684c1 |
"environment variables GNUTLS_PIN and GNUTLS_SO_PIN.\n\0"
|
|
Packit Service |
4684c1 |
/* 5905 */ "p11tool 3.6.14\0"
|
|
Packit Service |
4684c1 |
/* 5920 */ "p11tool [options] [url]\n"
|
|
Packit Service |
4684c1 |
"p11tool --help for usage instructions.\n";
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* token_related_options option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** token_related_options option separation text */
|
|
Packit Service |
4684c1 |
#define TOKEN_RELATED_OPTIONS_DESC (p11tool_opt_strs+886)
|
|
Packit Service |
4684c1 |
#define TOKEN_RELATED_OPTIONS_FLAGS (OPTST_DOCUMENT | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-tokens option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-tokens option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKENS_DESC (p11tool_opt_strs+894)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-tokens option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKENS_NAME (p11tool_opt_strs+920)
|
|
Packit Service |
4684c1 |
/** Name string for the list-tokens option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKENS_name (p11tool_opt_strs+932)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-tokens option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKENS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-token-urls option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-token-urls option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKEN_URLS_DESC (p11tool_opt_strs+944)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-token-urls option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKEN_URLS_NAME (p11tool_opt_strs+975)
|
|
Packit Service |
4684c1 |
/** Name string for the list-token-urls option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKEN_URLS_name (p11tool_opt_strs+991)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-token-urls option */
|
|
Packit Service |
4684c1 |
#define LIST_TOKEN_URLS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-mechanisms option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-mechanisms option */
|
|
Packit Service |
4684c1 |
#define LIST_MECHANISMS_DESC (p11tool_opt_strs+1007)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-mechanisms option */
|
|
Packit Service |
4684c1 |
#define LIST_MECHANISMS_NAME (p11tool_opt_strs+1048)
|
|
Packit Service |
4684c1 |
/** Name string for the list-mechanisms option */
|
|
Packit Service |
4684c1 |
#define LIST_MECHANISMS_name (p11tool_opt_strs+1064)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-mechanisms option */
|
|
Packit Service |
4684c1 |
#define LIST_MECHANISMS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* initialize option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the initialize option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_DESC (p11tool_opt_strs+1080)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the initialize option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_NAME (p11tool_opt_strs+1109)
|
|
Packit Service |
4684c1 |
/** Name string for the initialize option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_name (p11tool_opt_strs+1120)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the initialize option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* initialize-pin option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the initialize-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_PIN_DESC (p11tool_opt_strs+1131)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the initialize-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_PIN_NAME (p11tool_opt_strs+1176)
|
|
Packit Service |
4684c1 |
/** Name string for the initialize-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_PIN_name (p11tool_opt_strs+1191)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the initialize-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_PIN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* initialize-so-pin option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the initialize-so-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_SO_PIN_DESC (p11tool_opt_strs+1206)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the initialize-so-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_SO_PIN_NAME (p11tool_opt_strs+1264)
|
|
Packit Service |
4684c1 |
/** Name string for the initialize-so-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_SO_PIN_name (p11tool_opt_strs+1282)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the initialize-so-pin option */
|
|
Packit Service |
4684c1 |
#define INITIALIZE_SO_PIN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* set-pin option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the set-pin option */
|
|
Packit Service |
4684c1 |
#define SET_PIN_DESC (p11tool_opt_strs+1300)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the set-pin option */
|
|
Packit Service |
4684c1 |
#define SET_PIN_NAME (p11tool_opt_strs+1343)
|
|
Packit Service |
4684c1 |
/** Name string for the set-pin option */
|
|
Packit Service |
4684c1 |
#define SET_PIN_name (p11tool_opt_strs+1351)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the set-pin option */
|
|
Packit Service |
4684c1 |
#define SET_PIN_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* set-so-pin option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the set-so-pin option */
|
|
Packit Service |
4684c1 |
#define SET_SO_PIN_DESC (p11tool_opt_strs+1359)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the set-so-pin option */
|
|
Packit Service |
4684c1 |
#define SET_SO_PIN_NAME (p11tool_opt_strs+1425)
|
|
Packit Service |
4684c1 |
/** Name string for the set-so-pin option */
|
|
Packit Service |
4684c1 |
#define SET_SO_PIN_name (p11tool_opt_strs+1436)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the set-so-pin option */
|
|
Packit Service |
4684c1 |
#define SET_SO_PIN_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* object_list_related_options option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** object_list_related_options option separation text */
|
|
Packit Service |
4684c1 |
#define OBJECT_LIST_RELATED_OPTIONS_DESC (p11tool_opt_strs+1447)
|
|
Packit Service |
4684c1 |
#define OBJECT_LIST_RELATED_OPTIONS_FLAGS (OPTST_DOCUMENT | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-all option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-all option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_DESC (p11tool_opt_strs+1463)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-all option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_NAME (p11tool_opt_strs+1501)
|
|
Packit Service |
4684c1 |
/** Name string for the list-all option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_name (p11tool_opt_strs+1510)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-all option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-all-certs option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-all-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_CERTS_DESC (p11tool_opt_strs+1519)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-all-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_CERTS_NAME (p11tool_opt_strs+1562)
|
|
Packit Service |
4684c1 |
/** Name string for the list-all-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_CERTS_name (p11tool_opt_strs+1577)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-all-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_CERTS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-certs option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_CERTS_DESC (p11tool_opt_strs+1592)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_CERTS_NAME (p11tool_opt_strs+1650)
|
|
Packit Service |
4684c1 |
/** Name string for the list-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_CERTS_name (p11tool_opt_strs+1661)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-certs option */
|
|
Packit Service |
4684c1 |
#define LIST_CERTS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-all-privkeys option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-all-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_PRIVKEYS_DESC (p11tool_opt_strs+1672)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-all-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_PRIVKEYS_NAME (p11tool_opt_strs+1715)
|
|
Packit Service |
4684c1 |
/** Name string for the list-all-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_PRIVKEYS_name (p11tool_opt_strs+1733)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-all-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_PRIVKEYS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-privkeys option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_PRIVKEYS_DESC (p11tool_opt_strs+1751)
|
|
Packit Service |
4684c1 |
#define LIST_PRIVKEYS_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the list-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_PRIVKEYS_name (p11tool_opt_strs+1795)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-privkeys option */
|
|
Packit Service |
4684c1 |
#define LIST_PRIVKEYS_FLAGS (LIST_ALL_PRIVKEYS_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-keys option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-keys option */
|
|
Packit Service |
4684c1 |
#define LIST_KEYS_DESC (p11tool_opt_strs+1751)
|
|
Packit Service |
4684c1 |
#define LIST_KEYS_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the list-keys option */
|
|
Packit Service |
4684c1 |
#define LIST_KEYS_name (p11tool_opt_strs+1809)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-keys option */
|
|
Packit Service |
4684c1 |
#define LIST_KEYS_FLAGS (LIST_ALL_PRIVKEYS_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* list-all-trusted option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the list-all-trusted option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_TRUSTED_DESC (p11tool_opt_strs+1819)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the list-all-trusted option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_TRUSTED_NAME (p11tool_opt_strs+1869)
|
|
Packit Service |
4684c1 |
/** Name string for the list-all-trusted option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_TRUSTED_name (p11tool_opt_strs+1886)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the list-all-trusted option */
|
|
Packit Service |
4684c1 |
#define LIST_ALL_TRUSTED_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* export option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the export option */
|
|
Packit Service |
4684c1 |
#define EXPORT_DESC (p11tool_opt_strs+1903)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the export option */
|
|
Packit Service |
4684c1 |
#define EXPORT_NAME (p11tool_opt_strs+1942)
|
|
Packit Service |
4684c1 |
/** Name string for the export option */
|
|
Packit Service |
4684c1 |
#define EXPORT_name (p11tool_opt_strs+1949)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the export option */
|
|
Packit Service |
4684c1 |
static int const aExportCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_STAPLED,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_CHAIN,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_PUBKEY, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the export option */
|
|
Packit Service |
4684c1 |
#define EXPORT_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* export-stapled option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the export-stapled option */
|
|
Packit Service |
4684c1 |
#define EXPORT_STAPLED_DESC (p11tool_opt_strs+1956)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the export-stapled option */
|
|
Packit Service |
4684c1 |
#define EXPORT_STAPLED_NAME (p11tool_opt_strs+2007)
|
|
Packit Service |
4684c1 |
/** Name string for the export-stapled option */
|
|
Packit Service |
4684c1 |
#define EXPORT_STAPLED_name (p11tool_opt_strs+2022)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the export-stapled option */
|
|
Packit Service |
4684c1 |
static int const aExport_StapledCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_CHAIN,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_PUBKEY, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the export-stapled option */
|
|
Packit Service |
4684c1 |
#define EXPORT_STAPLED_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* export-chain option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the export-chain option */
|
|
Packit Service |
4684c1 |
#define EXPORT_CHAIN_DESC (p11tool_opt_strs+2037)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the export-chain option */
|
|
Packit Service |
4684c1 |
#define EXPORT_CHAIN_NAME (p11tool_opt_strs+2104)
|
|
Packit Service |
4684c1 |
/** Name string for the export-chain option */
|
|
Packit Service |
4684c1 |
#define EXPORT_CHAIN_name (p11tool_opt_strs+2117)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the export-chain option */
|
|
Packit Service |
4684c1 |
static int const aExport_ChainCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_STAPLED,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_PUBKEY, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the export-chain option */
|
|
Packit Service |
4684c1 |
#define EXPORT_CHAIN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* export-pubkey option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the export-pubkey option */
|
|
Packit Service |
4684c1 |
#define EXPORT_PUBKEY_DESC (p11tool_opt_strs+2130)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the export-pubkey option */
|
|
Packit Service |
4684c1 |
#define EXPORT_PUBKEY_NAME (p11tool_opt_strs+2170)
|
|
Packit Service |
4684c1 |
/** Name string for the export-pubkey option */
|
|
Packit Service |
4684c1 |
#define EXPORT_PUBKEY_name (p11tool_opt_strs+2184)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the export-pubkey option */
|
|
Packit Service |
4684c1 |
static int const aExport_PubkeyCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_STAPLED,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT,
|
|
Packit Service |
4684c1 |
INDEX_OPT_EXPORT_CHAIN, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the export-pubkey option */
|
|
Packit Service |
4684c1 |
#define EXPORT_PUBKEY_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* info option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the info option */
|
|
Packit Service |
4684c1 |
#define INFO_DESC (p11tool_opt_strs+2198)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the info option */
|
|
Packit Service |
4684c1 |
#define INFO_NAME (p11tool_opt_strs+2249)
|
|
Packit Service |
4684c1 |
/** Name string for the info option */
|
|
Packit Service |
4684c1 |
#define INFO_name (p11tool_opt_strs+2254)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the info option */
|
|
Packit Service |
4684c1 |
#define INFO_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* trusted option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the trusted option */
|
|
Packit Service |
4684c1 |
#define TRUSTED_DESC (p11tool_opt_strs+2259)
|
|
Packit Service |
4684c1 |
#define TRUSTED_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the trusted option */
|
|
Packit Service |
4684c1 |
#define TRUSTED_name (p11tool_opt_strs+2298)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the trusted option */
|
|
Packit Service |
4684c1 |
#define TRUSTED_FLAGS (MARK_TRUSTED_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* distrusted option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the distrusted option */
|
|
Packit Service |
4684c1 |
#define DISTRUSTED_DESC (p11tool_opt_strs+2306)
|
|
Packit Service |
4684c1 |
#define DISTRUSTED_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the distrusted option */
|
|
Packit Service |
4684c1 |
#define DISTRUSTED_name (p11tool_opt_strs+2348)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the distrusted option */
|
|
Packit Service |
4684c1 |
#define DISTRUSTED_FLAGS (MARK_DISTRUSTED_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* keygen_related_options option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** keygen_related_options option separation text */
|
|
Packit Service |
4684c1 |
#define KEYGEN_RELATED_OPTIONS_DESC (p11tool_opt_strs+2359)
|
|
Packit Service |
4684c1 |
#define KEYGEN_RELATED_OPTIONS_FLAGS (OPTST_DOCUMENT | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-privkey option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-privkey option */
|
|
Packit Service |
4684c1 |
#define GENERATE_PRIVKEY_DESC (p11tool_opt_strs+2375)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-privkey option */
|
|
Packit Service |
4684c1 |
#define GENERATE_PRIVKEY_NAME (p11tool_opt_strs+2422)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-privkey option */
|
|
Packit Service |
4684c1 |
#define GENERATE_PRIVKEY_name (p11tool_opt_strs+2439)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-privkey option */
|
|
Packit Service |
4684c1 |
#define GENERATE_PRIVKEY_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-rsa option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-rsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RSA_DESC (p11tool_opt_strs+2456)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-rsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RSA_NAME (p11tool_opt_strs+2509)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-rsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RSA_name (p11tool_opt_strs+2522)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-rsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RSA_FLAGS (OPTST_DISABLED | OPTST_DEPRECATED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-dsa option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-dsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_DSA_DESC (p11tool_opt_strs+2535)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-dsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_DSA_NAME (p11tool_opt_strs+2587)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-dsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_DSA_name (p11tool_opt_strs+2600)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-dsa option */
|
|
Packit Service |
4684c1 |
#define GENERATE_DSA_FLAGS (OPTST_DISABLED | OPTST_DEPRECATED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-ecc option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-ecc option */
|
|
Packit Service |
4684c1 |
#define GENERATE_ECC_DESC (p11tool_opt_strs+2613)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-ecc option */
|
|
Packit Service |
4684c1 |
#define GENERATE_ECC_NAME (p11tool_opt_strs+2668)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-ecc option */
|
|
Packit Service |
4684c1 |
#define GENERATE_ECC_name (p11tool_opt_strs+2681)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-ecc option */
|
|
Packit Service |
4684c1 |
#define GENERATE_ECC_FLAGS (OPTST_DISABLED | OPTST_DEPRECATED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* bits option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the bits option */
|
|
Packit Service |
4684c1 |
#define BITS_DESC (p11tool_opt_strs+2694)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the bits option */
|
|
Packit Service |
4684c1 |
#define BITS_NAME (p11tool_opt_strs+2742)
|
|
Packit Service |
4684c1 |
/** Name string for the bits option */
|
|
Packit Service |
4684c1 |
#define BITS_name (p11tool_opt_strs+2747)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the bits option */
|
|
Packit Service |
4684c1 |
#define BITS_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* curve option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the curve option */
|
|
Packit Service |
4684c1 |
#define CURVE_DESC (p11tool_opt_strs+2752)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the curve option */
|
|
Packit Service |
4684c1 |
#define CURVE_NAME (p11tool_opt_strs+2797)
|
|
Packit Service |
4684c1 |
/** Name string for the curve option */
|
|
Packit Service |
4684c1 |
#define CURVE_name (p11tool_opt_strs+2803)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the curve option */
|
|
Packit Service |
4684c1 |
#define CURVE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* sec-param option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the sec-param option */
|
|
Packit Service |
4684c1 |
#define SEC_PARAM_DESC (p11tool_opt_strs+2809)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the sec-param option */
|
|
Packit Service |
4684c1 |
#define SEC_PARAM_NAME (p11tool_opt_strs+2836)
|
|
Packit Service |
4684c1 |
/** Name string for the sec-param option */
|
|
Packit Service |
4684c1 |
#define SEC_PARAM_name (p11tool_opt_strs+2846)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the sec-param option */
|
|
Packit Service |
4684c1 |
#define SEC_PARAM_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* write_object_related_options option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** write_object_related_options option separation text */
|
|
Packit Service |
4684c1 |
#define WRITE_OBJECT_RELATED_OPTIONS_DESC (p11tool_opt_strs+2856)
|
|
Packit Service |
4684c1 |
#define WRITE_OBJECT_RELATED_OPTIONS_FLAGS (OPTST_DOCUMENT | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* set-id option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the set-id option */
|
|
Packit Service |
4684c1 |
#define SET_ID_DESC (p11tool_opt_strs+2873)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the set-id option */
|
|
Packit Service |
4684c1 |
#define SET_ID_NAME (p11tool_opt_strs+2933)
|
|
Packit Service |
4684c1 |
/** Name string for the set-id option */
|
|
Packit Service |
4684c1 |
#define SET_ID_name (p11tool_opt_strs+2940)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the set-id option */
|
|
Packit Service |
4684c1 |
static int const aSet_IdCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_WRITE, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the set-id option */
|
|
Packit Service |
4684c1 |
#define SET_ID_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* set-label option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the set-label option */
|
|
Packit Service |
4684c1 |
#define SET_LABEL_DESC (p11tool_opt_strs+2947)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the set-label option */
|
|
Packit Service |
4684c1 |
#define SET_LABEL_NAME (p11tool_opt_strs+3001)
|
|
Packit Service |
4684c1 |
/** Name string for the set-label option */
|
|
Packit Service |
4684c1 |
#define SET_LABEL_name (p11tool_opt_strs+3011)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the set-label option */
|
|
Packit Service |
4684c1 |
static int const aSet_LabelCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_WRITE,
|
|
Packit Service |
4684c1 |
INDEX_OPT_SET_ID, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the set-label option */
|
|
Packit Service |
4684c1 |
#define SET_LABEL_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* write option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the write option */
|
|
Packit Service |
4684c1 |
#define WRITE_DESC (p11tool_opt_strs+3021)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the write option */
|
|
Packit Service |
4684c1 |
#define WRITE_NAME (p11tool_opt_strs+3067)
|
|
Packit Service |
4684c1 |
/** Name string for the write option */
|
|
Packit Service |
4684c1 |
#define WRITE_name (p11tool_opt_strs+3073)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the write option */
|
|
Packit Service |
4684c1 |
#define WRITE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* delete option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the delete option */
|
|
Packit Service |
4684c1 |
#define DELETE_DESC (p11tool_opt_strs+3079)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the delete option */
|
|
Packit Service |
4684c1 |
#define DELETE_NAME (p11tool_opt_strs+3131)
|
|
Packit Service |
4684c1 |
/** Name string for the delete option */
|
|
Packit Service |
4684c1 |
#define DELETE_name (p11tool_opt_strs+3138)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the delete option */
|
|
Packit Service |
4684c1 |
#define DELETE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* label option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the label option */
|
|
Packit Service |
4684c1 |
#define LABEL_DESC (p11tool_opt_strs+3145)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the label option */
|
|
Packit Service |
4684c1 |
#define LABEL_NAME (p11tool_opt_strs+3182)
|
|
Packit Service |
4684c1 |
/** Name string for the label option */
|
|
Packit Service |
4684c1 |
#define LABEL_name (p11tool_opt_strs+3188)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the label option */
|
|
Packit Service |
4684c1 |
#define LABEL_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* id option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the id option */
|
|
Packit Service |
4684c1 |
#define ID_DESC (p11tool_opt_strs+3194)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the id option */
|
|
Packit Service |
4684c1 |
#define ID_NAME (p11tool_opt_strs+3229)
|
|
Packit Service |
4684c1 |
/** Name string for the id option */
|
|
Packit Service |
4684c1 |
#define ID_name (p11tool_opt_strs+3232)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the id option */
|
|
Packit Service |
4684c1 |
#define ID_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-wrap option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define MARK_WRAP_DESC (p11tool_opt_strs+3235)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define MARK_WRAP_NAME (p11tool_opt_strs+3280)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_WRAP_name (p11tool_opt_strs+3290)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_WRAP_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define MARK_WRAP_name (NOT_MARK_WRAP_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-wrap option */
|
|
Packit Service |
4684c1 |
#define MARK_WRAP_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-trusted option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define MARK_TRUSTED_DESC (p11tool_opt_strs+3306)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define MARK_TRUSTED_NAME (p11tool_opt_strs+3348)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_TRUSTED_name (p11tool_opt_strs+3361)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_TRUSTED_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define MARK_TRUSTED_name (NOT_MARK_TRUSTED_name + 3)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the mark-trusted option */
|
|
Packit Service |
4684c1 |
static int const aMark_TrustedCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_MARK_DISTRUSTED, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-trusted option */
|
|
Packit Service |
4684c1 |
#define MARK_TRUSTED_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-distrusted option description with
|
|
Packit Service |
4684c1 |
* "Must also have options" and "Incompatible options":
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-distrusted option */
|
|
Packit Service |
4684c1 |
#define MARK_DISTRUSTED_DESC (p11tool_opt_strs+3377)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-distrusted option */
|
|
Packit Service |
4684c1 |
#define MARK_DISTRUSTED_NAME (p11tool_opt_strs+3457)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-distrusted option */
|
|
Packit Service |
4684c1 |
#define MARK_DISTRUSTED_name (p11tool_opt_strs+3473)
|
|
Packit Service |
4684c1 |
/** Other options that appear in conjunction with the mark-distrusted option */
|
|
Packit Service |
4684c1 |
static int const aMark_DistrustedCantList[] = {
|
|
Packit Service |
4684c1 |
INDEX_OPT_MARK_TRUSTED, NO_EQUIVALENT };
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-distrusted option */
|
|
Packit Service |
4684c1 |
#define MARK_DISTRUSTED_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-decrypt option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define MARK_DECRYPT_DESC (p11tool_opt_strs+3489)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define MARK_DECRYPT_NAME (p11tool_opt_strs+3535)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_DECRYPT_name (p11tool_opt_strs+3548)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_DECRYPT_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define MARK_DECRYPT_name (NOT_MARK_DECRYPT_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-decrypt option */
|
|
Packit Service |
4684c1 |
#define MARK_DECRYPT_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-sign option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define MARK_SIGN_DESC (p11tool_opt_strs+3564)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define MARK_SIGN_NAME (p11tool_opt_strs+3620)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_SIGN_name (p11tool_opt_strs+3630)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_SIGN_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define MARK_SIGN_name (NOT_MARK_SIGN_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-sign option */
|
|
Packit Service |
4684c1 |
#define MARK_SIGN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-ca option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define MARK_CA_DESC (p11tool_opt_strs+3643)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define MARK_CA_NAME (p11tool_opt_strs+3682)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_CA_name (p11tool_opt_strs+3690)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_CA_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define MARK_CA_name (NOT_MARK_CA_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-ca option */
|
|
Packit Service |
4684c1 |
#define MARK_CA_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* mark-private option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the mark-private option */
|
|
Packit Service |
4684c1 |
#define MARK_PRIVATE_DESC (p11tool_opt_strs+3701)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the mark-private option */
|
|
Packit Service |
4684c1 |
#define MARK_PRIVATE_NAME (p11tool_opt_strs+3743)
|
|
Packit Service |
4684c1 |
/** disablement name for the mark-private option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_PRIVATE_name (p11tool_opt_strs+3756)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the mark-private option */
|
|
Packit Service |
4684c1 |
#define NOT_MARK_PRIVATE_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the mark-private option */
|
|
Packit Service |
4684c1 |
#define MARK_PRIVATE_name (NOT_MARK_PRIVATE_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the mark-private option */
|
|
Packit Service |
4684c1 |
#define MARK_PRIVATE_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* ca option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the ca option */
|
|
Packit Service |
4684c1 |
#define CA_DESC (p11tool_opt_strs+3772)
|
|
Packit Service |
4684c1 |
#define CA_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the ca option */
|
|
Packit Service |
4684c1 |
#define CA_name (p11tool_opt_strs+3806)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the ca option */
|
|
Packit Service |
4684c1 |
#define CA_FLAGS (MARK_CA_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* private option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the private option */
|
|
Packit Service |
4684c1 |
#define PRIVATE_DESC (p11tool_opt_strs+3809)
|
|
Packit Service |
4684c1 |
#define PRIVATE_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the private option */
|
|
Packit Service |
4684c1 |
#define PRIVATE_name (p11tool_opt_strs+3848)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the private option */
|
|
Packit Service |
4684c1 |
#define PRIVATE_FLAGS (MARK_PRIVATE_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* secret-key option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the secret-key option */
|
|
Packit Service |
4684c1 |
#define SECRET_KEY_DESC (p11tool_opt_strs+3856)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the secret-key option */
|
|
Packit Service |
4684c1 |
#define SECRET_KEY_NAME (p11tool_opt_strs+3889)
|
|
Packit Service |
4684c1 |
/** Name string for the secret-key option */
|
|
Packit Service |
4684c1 |
#define SECRET_KEY_name (p11tool_opt_strs+3900)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the secret-key option */
|
|
Packit Service |
4684c1 |
#define SECRET_KEY_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-privkey option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-privkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PRIVKEY_DESC (p11tool_opt_strs+3911)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-privkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PRIVKEY_NAME (p11tool_opt_strs+3935)
|
|
Packit Service |
4684c1 |
/** Name string for the load-privkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PRIVKEY_name (p11tool_opt_strs+3948)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-privkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PRIVKEY_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-pubkey option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-pubkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PUBKEY_DESC (p11tool_opt_strs+3961)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-pubkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PUBKEY_NAME (p11tool_opt_strs+3984)
|
|
Packit Service |
4684c1 |
/** Name string for the load-pubkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PUBKEY_name (p11tool_opt_strs+3996)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-pubkey option */
|
|
Packit Service |
4684c1 |
#define LOAD_PUBKEY_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* load-certificate option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the load-certificate option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERTIFICATE_DESC (p11tool_opt_strs+4008)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the load-certificate option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERTIFICATE_NAME (p11tool_opt_strs+4032)
|
|
Packit Service |
4684c1 |
/** Name string for the load-certificate option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERTIFICATE_name (p11tool_opt_strs+4049)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the load-certificate option */
|
|
Packit Service |
4684c1 |
#define LOAD_CERTIFICATE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* other_options option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** other_options option separation text */
|
|
Packit Service |
4684c1 |
#define OTHER_OPTIONS_DESC (p11tool_opt_strs+4066)
|
|
Packit Service |
4684c1 |
#define OTHER_OPTIONS_FLAGS (OPTST_DOCUMENT | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* debug option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_DESC (p11tool_opt_strs+4081)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_NAME (p11tool_opt_strs+4098)
|
|
Packit Service |
4684c1 |
/** Name string for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_name (p11tool_opt_strs+4104)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the debug option */
|
|
Packit Service |
4684c1 |
#define DEBUG_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outfile option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_DESC (p11tool_opt_strs+4110)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_NAME (p11tool_opt_strs+4122)
|
|
Packit Service |
4684c1 |
/** Name string for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_name (p11tool_opt_strs+4130)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outfile option */
|
|
Packit Service |
4684c1 |
#define OUTFILE_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* login option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the login option */
|
|
Packit Service |
4684c1 |
#define LOGIN_DESC (p11tool_opt_strs+4138)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the login option */
|
|
Packit Service |
4684c1 |
#define LOGIN_NAME (p11tool_opt_strs+4166)
|
|
Packit Service |
4684c1 |
/** disablement name for the login option */
|
|
Packit Service |
4684c1 |
#define NOT_LOGIN_name (p11tool_opt_strs+4172)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the login option */
|
|
Packit Service |
4684c1 |
#define NOT_LOGIN_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the login option */
|
|
Packit Service |
4684c1 |
#define LOGIN_name (NOT_LOGIN_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the login option */
|
|
Packit Service |
4684c1 |
#define LOGIN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* so-login option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the so-login option */
|
|
Packit Service |
4684c1 |
#define SO_LOGIN_DESC (p11tool_opt_strs+4181)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the so-login option */
|
|
Packit Service |
4684c1 |
#define SO_LOGIN_NAME (p11tool_opt_strs+4219)
|
|
Packit Service |
4684c1 |
/** disablement name for the so-login option */
|
|
Packit Service |
4684c1 |
#define NOT_SO_LOGIN_name (p11tool_opt_strs+4228)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the so-login option */
|
|
Packit Service |
4684c1 |
#define NOT_SO_LOGIN_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the so-login option */
|
|
Packit Service |
4684c1 |
#define SO_LOGIN_name (NOT_SO_LOGIN_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the so-login option */
|
|
Packit Service |
4684c1 |
#define SO_LOGIN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* admin-login option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the admin-login option */
|
|
Packit Service |
4684c1 |
#define ADMIN_LOGIN_DESC (p11tool_opt_strs+4240)
|
|
Packit Service |
4684c1 |
#define ADMIN_LOGIN_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the admin-login option */
|
|
Packit Service |
4684c1 |
#define ADMIN_LOGIN_name (p11tool_opt_strs+4275)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the admin-login option */
|
|
Packit Service |
4684c1 |
#define ADMIN_LOGIN_FLAGS (SO_LOGIN_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* test-sign option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the test-sign option */
|
|
Packit Service |
4684c1 |
#define TEST_SIGN_DESC (p11tool_opt_strs+4287)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the test-sign option */
|
|
Packit Service |
4684c1 |
#define TEST_SIGN_NAME (p11tool_opt_strs+4340)
|
|
Packit Service |
4684c1 |
/** Name string for the test-sign option */
|
|
Packit Service |
4684c1 |
#define TEST_SIGN_name (p11tool_opt_strs+4350)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the test-sign option */
|
|
Packit Service |
4684c1 |
#define TEST_SIGN_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* sign-params option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the sign-params option */
|
|
Packit Service |
4684c1 |
#define SIGN_PARAMS_DESC (p11tool_opt_strs+4360)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the sign-params option */
|
|
Packit Service |
4684c1 |
#define SIGN_PARAMS_NAME (p11tool_opt_strs+4401)
|
|
Packit Service |
4684c1 |
/** Name string for the sign-params option */
|
|
Packit Service |
4684c1 |
#define SIGN_PARAMS_name (p11tool_opt_strs+4413)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the sign-params option */
|
|
Packit Service |
4684c1 |
#define SIGN_PARAMS_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* hash option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the hash option */
|
|
Packit Service |
4684c1 |
#define HASH_DESC (p11tool_opt_strs+4425)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the hash option */
|
|
Packit Service |
4684c1 |
#define HASH_NAME (p11tool_opt_strs+4459)
|
|
Packit Service |
4684c1 |
/** Name string for the hash option */
|
|
Packit Service |
4684c1 |
#define HASH_name (p11tool_opt_strs+4464)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the hash option */
|
|
Packit Service |
4684c1 |
#define HASH_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* generate-random option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the generate-random option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RANDOM_DESC (p11tool_opt_strs+4469)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the generate-random option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RANDOM_NAME (p11tool_opt_strs+4490)
|
|
Packit Service |
4684c1 |
/** Name string for the generate-random option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RANDOM_name (p11tool_opt_strs+4506)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the generate-random option */
|
|
Packit Service |
4684c1 |
#define GENERATE_RANDOM_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* pkcs8 option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the pkcs8 option */
|
|
Packit Service |
4684c1 |
#define PKCS8_DESC (p11tool_opt_strs+4522)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the pkcs8 option */
|
|
Packit Service |
4684c1 |
#define PKCS8_NAME (p11tool_opt_strs+4558)
|
|
Packit Service |
4684c1 |
/** Name string for the pkcs8 option */
|
|
Packit Service |
4684c1 |
#define PKCS8_name (p11tool_opt_strs+4564)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the pkcs8 option */
|
|
Packit Service |
4684c1 |
#define PKCS8_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* inder option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_DESC (p11tool_opt_strs+4570)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_NAME (p11tool_opt_strs+4599)
|
|
Packit Service |
4684c1 |
/** disablement name for the inder option */
|
|
Packit Service |
4684c1 |
#define NOT_INDER_name (p11tool_opt_strs+4605)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the inder option */
|
|
Packit Service |
4684c1 |
#define NOT_INDER_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_name (NOT_INDER_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the inder option */
|
|
Packit Service |
4684c1 |
#define INDER_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* inraw option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the inraw option */
|
|
Packit Service |
4684c1 |
#define INRAW_DESC (p11tool_opt_strs+4614)
|
|
Packit Service |
4684c1 |
#define INRAW_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the inraw option */
|
|
Packit Service |
4684c1 |
#define INRAW_name (p11tool_opt_strs+4646)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the inraw option */
|
|
Packit Service |
4684c1 |
#define INRAW_FLAGS (INDER_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outder option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_DESC (p11tool_opt_strs+4652)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_NAME (p11tool_opt_strs+4724)
|
|
Packit Service |
4684c1 |
/** disablement name for the outder option */
|
|
Packit Service |
4684c1 |
#define NOT_OUTDER_name (p11tool_opt_strs+4731)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the outder option */
|
|
Packit Service |
4684c1 |
#define NOT_OUTDER_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_name (NOT_OUTDER_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outder option */
|
|
Packit Service |
4684c1 |
#define OUTDER_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* outraw option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the outraw option */
|
|
Packit Service |
4684c1 |
#define OUTRAW_DESC (p11tool_opt_strs+4741)
|
|
Packit Service |
4684c1 |
#define OUTRAW_NAME NULL
|
|
Packit Service |
4684c1 |
/** Unmodified name string for the outraw option */
|
|
Packit Service |
4684c1 |
#define OUTRAW_name (p11tool_opt_strs+4774)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the outraw option */
|
|
Packit Service |
4684c1 |
#define OUTRAW_FLAGS (OUTDER_FLAGS | OPTST_ALIAS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* provider option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the provider option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_DESC (p11tool_opt_strs+4781)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the provider option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_NAME (p11tool_opt_strs+4819)
|
|
Packit Service |
4684c1 |
/** Name string for the provider option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_name (p11tool_opt_strs+4828)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the provider option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_FLAGS (OPTST_DISABLED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_FILE))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* provider-opts option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the provider-opts option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_OPTS_DESC (p11tool_opt_strs+4837)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the provider-opts option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_OPTS_NAME (p11tool_opt_strs+4903)
|
|
Packit Service |
4684c1 |
/** Name string for the provider-opts option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_OPTS_name (p11tool_opt_strs+4917)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the provider-opts option */
|
|
Packit Service |
4684c1 |
#define PROVIDER_OPTS_FLAGS (OPTST_DISABLED | OPTST_DEPRECATED \
|
|
Packit Service |
4684c1 |
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* detailed-url option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define DETAILED_URL_DESC (p11tool_opt_strs+4931)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define DETAILED_URL_NAME (p11tool_opt_strs+4951)
|
|
Packit Service |
4684c1 |
/** disablement name for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define NOT_DETAILED_URL_name (p11tool_opt_strs+4964)
|
|
Packit Service |
4684c1 |
/** disablement prefix for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define NOT_DETAILED_URL_PFX (p11tool_opt_strs+3303)
|
|
Packit Service |
4684c1 |
/** Name string for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define DETAILED_URL_name (NOT_DETAILED_URL_name + 3)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the detailed-url option */
|
|
Packit Service |
4684c1 |
#define DETAILED_URL_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* only-urls option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the only-urls option */
|
|
Packit Service |
4684c1 |
#define ONLY_URLS_DESC (p11tool_opt_strs+4980)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the only-urls option */
|
|
Packit Service |
4684c1 |
#define ONLY_URLS_NAME (p11tool_opt_strs+5024)
|
|
Packit Service |
4684c1 |
/** Name string for the only-urls option */
|
|
Packit Service |
4684c1 |
#define ONLY_URLS_name (p11tool_opt_strs+5034)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the only-urls option */
|
|
Packit Service |
4684c1 |
#define ONLY_URLS_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* batch option description:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/** Descriptive text for the batch option */
|
|
Packit Service |
4684c1 |
#define BATCH_DESC (p11tool_opt_strs+5044)
|
|
Packit Service |
4684c1 |
/** Upper-cased name for the batch option */
|
|
Packit Service |
4684c1 |
#define BATCH_NAME (p11tool_opt_strs+5082)
|
|
Packit Service |
4684c1 |
/** Name string for the batch option */
|
|
Packit Service |
4684c1 |
#define BATCH_name (p11tool_opt_strs+5088)
|
|
Packit Service |
4684c1 |
/** Compiled in flag settings for the batch option */
|
|
Packit Service |
4684c1 |
#define BATCH_FLAGS (OPTST_DISABLED)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Help/More_Help/Version option descriptions:
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#define HELP_DESC (p11tool_opt_strs+5094)
|
|
Packit Service |
4684c1 |
#define HELP_name (p11tool_opt_strs+5138)
|
|
Packit Service |
4684c1 |
#ifdef HAVE_WORKING_FORK
|
|
Packit Service |
4684c1 |
#define MORE_HELP_DESC (p11tool_opt_strs+5143)
|
|
Packit Service |
4684c1 |
#define MORE_HELP_name (p11tool_opt_strs+5188)
|
|
Packit Service |
4684c1 |
#define MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
#define MORE_HELP_DESC HELP_DESC
|
|
Packit Service |
4684c1 |
#define MORE_HELP_name HELP_name
|
|
Packit Service |
4684c1 |
#define MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#ifdef NO_OPTIONAL_OPT_ARGS
|
|
Packit Service |
4684c1 |
# define VER_FLAGS (OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
# define VER_FLAGS (OPTST_SET_ARGTYPE(OPARG_TYPE_STRING) | \
|
|
Packit Service |
4684c1 |
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT)
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#define VER_DESC (p11tool_opt_strs+5198)
|
|
Packit Service |
4684c1 |
#define VER_name (p11tool_opt_strs+5234)
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Declare option callback procedures
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
extern tOptProc
|
|
Packit Service |
4684c1 |
optionBooleanVal, optionNestedVal, optionNumericVal,
|
|
Packit Service |
4684c1 |
optionPagedUsage, optionPrintVersion, optionResetOpt,
|
|
Packit Service |
4684c1 |
optionStackArg, optionTimeDate, optionTimeVal,
|
|
Packit Service |
4684c1 |
optionUnstackArg, optionVendorOption;
|
|
Packit Service |
4684c1 |
static tOptProc
|
|
Packit Service |
4684c1 |
doOptAdmin_Login, doOptCa, doOptDebug,
|
|
Packit Service |
4684c1 |
doOptDistrusted, doOptInraw, doOptList_Keys,
|
|
Packit Service |
4684c1 |
doOptList_Privkeys, doOptLoad_Certificate, doOptLoad_Privkey,
|
|
Packit Service |
4684c1 |
doOptLoad_Pubkey, doOptOutraw, doOptPrivate,
|
|
Packit Service |
4684c1 |
doOptProvider, doOptTrusted, doUsageOpt;
|
|
Packit Service |
4684c1 |
#define VER_PROC optionPrintVersion
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Define the p11tool Option Descriptions.
|
|
Packit Service |
4684c1 |
* This is an array of OPTION_CT entries, one for each
|
|
Packit Service |
4684c1 |
* option that the p11tool program responds to.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static tOptDesc optDesc[OPTION_CT] = {
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 0, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ TOKEN_RELATED_OPTIONS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ TOKEN_RELATED_OPTIONS_DESC, NULL, NULL,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 1, VALUE_OPT_LIST_TOKENS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 1, VALUE_OPT_LIST_TOKENS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_TOKENS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-tokens */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_TOKENS_DESC, LIST_TOKENS_NAME, LIST_TOKENS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 2, VALUE_OPT_LIST_TOKEN_URLS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 2, VALUE_OPT_LIST_TOKEN_URLS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_TOKEN_URLS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-token-urls */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_TOKEN_URLS_DESC, LIST_TOKEN_URLS_NAME, LIST_TOKEN_URLS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 3, VALUE_OPT_LIST_MECHANISMS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 3, VALUE_OPT_LIST_MECHANISMS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_MECHANISMS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-mechanisms */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_MECHANISMS_DESC, LIST_MECHANISMS_NAME, LIST_MECHANISMS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 4, VALUE_OPT_INITIALIZE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 4, VALUE_OPT_INITIALIZE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INITIALIZE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --initialize */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INITIALIZE_DESC, INITIALIZE_NAME, INITIALIZE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 5, VALUE_OPT_INITIALIZE_PIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 5, VALUE_OPT_INITIALIZE_PIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INITIALIZE_PIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --initialize-pin */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INITIALIZE_PIN_DESC, INITIALIZE_PIN_NAME, INITIALIZE_PIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 6, VALUE_OPT_INITIALIZE_SO_PIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 6, VALUE_OPT_INITIALIZE_SO_PIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INITIALIZE_SO_PIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --initialize-so-pin */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INITIALIZE_SO_PIN_DESC, INITIALIZE_SO_PIN_NAME, INITIALIZE_SO_PIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 7, VALUE_OPT_SET_PIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 7, VALUE_OPT_SET_PIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SET_PIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --set-pin */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SET_PIN_DESC, SET_PIN_NAME, SET_PIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 8, VALUE_OPT_SET_SO_PIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 8, VALUE_OPT_SET_SO_PIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SET_SO_PIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --set-so-pin */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SET_SO_PIN_DESC, SET_SO_PIN_NAME, SET_SO_PIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 0, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OBJECT_LIST_RELATED_OPTIONS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OBJECT_LIST_RELATED_OPTIONS_DESC, NULL, NULL,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 10, VALUE_OPT_LIST_ALL,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 10, VALUE_OPT_LIST_ALL,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_ALL_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-all */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_ALL_DESC, LIST_ALL_NAME, LIST_ALL_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 11, VALUE_OPT_LIST_ALL_CERTS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 11, VALUE_OPT_LIST_ALL_CERTS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_ALL_CERTS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-all-certs */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_ALL_CERTS_DESC, LIST_ALL_CERTS_NAME, LIST_ALL_CERTS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 12, VALUE_OPT_LIST_CERTS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 12, VALUE_OPT_LIST_CERTS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_CERTS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-certs */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_CERTS_DESC, LIST_CERTS_NAME, LIST_CERTS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 13, VALUE_OPT_LIST_ALL_PRIVKEYS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 13, VALUE_OPT_LIST_ALL_PRIVKEYS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_ALL_PRIVKEYS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-all-privkeys */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_ALL_PRIVKEYS_DESC, LIST_ALL_PRIVKEYS_NAME, LIST_ALL_PRIVKEYS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 14, VALUE_OPT_LIST_PRIVKEYS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 14, VALUE_OPT_LIST_PRIVKEYS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_PRIVKEYS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-privkeys */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptList_Privkeys,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_PRIVKEYS_DESC, LIST_PRIVKEYS_NAME, LIST_PRIVKEYS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 15, VALUE_OPT_LIST_KEYS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 15, VALUE_OPT_LIST_KEYS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_KEYS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-keys */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptList_Keys,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_KEYS_DESC, LIST_KEYS_NAME, LIST_KEYS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 16, VALUE_OPT_LIST_ALL_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 16, VALUE_OPT_LIST_ALL_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LIST_ALL_TRUSTED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --list-all-trusted */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LIST_ALL_TRUSTED_DESC, LIST_ALL_TRUSTED_NAME, LIST_ALL_TRUSTED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 17, VALUE_OPT_EXPORT,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 17, VALUE_OPT_EXPORT,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ EXPORT_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --export */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aExportCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ EXPORT_DESC, EXPORT_NAME, EXPORT_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 18, VALUE_OPT_EXPORT_STAPLED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 18, VALUE_OPT_EXPORT_STAPLED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ EXPORT_STAPLED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --export-stapled */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aExport_StapledCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ EXPORT_STAPLED_DESC, EXPORT_STAPLED_NAME, EXPORT_STAPLED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 19, VALUE_OPT_EXPORT_CHAIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 19, VALUE_OPT_EXPORT_CHAIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ EXPORT_CHAIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --export-chain */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aExport_ChainCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ EXPORT_CHAIN_DESC, EXPORT_CHAIN_NAME, EXPORT_CHAIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 20, VALUE_OPT_EXPORT_PUBKEY,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 20, VALUE_OPT_EXPORT_PUBKEY,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ EXPORT_PUBKEY_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --export-pubkey */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aExport_PubkeyCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ EXPORT_PUBKEY_DESC, EXPORT_PUBKEY_NAME, EXPORT_PUBKEY_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 21, VALUE_OPT_INFO,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 21, VALUE_OPT_INFO,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INFO_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --info */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INFO_DESC, INFO_NAME, INFO_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 22, VALUE_OPT_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 22, VALUE_OPT_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ TRUSTED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --trusted */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptTrusted,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ TRUSTED_DESC, TRUSTED_NAME, TRUSTED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 23, VALUE_OPT_DISTRUSTED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 23, VALUE_OPT_DISTRUSTED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ DISTRUSTED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --distrusted */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptDistrusted,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ DISTRUSTED_DESC, DISTRUSTED_NAME, DISTRUSTED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 0, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ KEYGEN_RELATED_OPTIONS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ KEYGEN_RELATED_OPTIONS_DESC, NULL, NULL,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 25, VALUE_OPT_GENERATE_PRIVKEY,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 25, VALUE_OPT_GENERATE_PRIVKEY,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_PRIVKEY_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-privkey */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_PRIVKEY_DESC, GENERATE_PRIVKEY_NAME, GENERATE_PRIVKEY_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 26, VALUE_OPT_GENERATE_RSA,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 26, VALUE_OPT_GENERATE_RSA,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_RSA_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-rsa */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_RSA_DESC, GENERATE_RSA_NAME, GENERATE_RSA_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 27, VALUE_OPT_GENERATE_DSA,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 27, VALUE_OPT_GENERATE_DSA,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_DSA_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-dsa */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_DSA_DESC, GENERATE_DSA_NAME, GENERATE_DSA_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 28, VALUE_OPT_GENERATE_ECC,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 28, VALUE_OPT_GENERATE_ECC,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_ECC_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-ecc */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_ECC_DESC, GENERATE_ECC_NAME, GENERATE_ECC_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 29, VALUE_OPT_BITS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 29, VALUE_OPT_BITS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ BITS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --bits */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ optionNumericVal,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ BITS_DESC, BITS_NAME, BITS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 30, VALUE_OPT_CURVE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 30, VALUE_OPT_CURVE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ CURVE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --curve */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ CURVE_DESC, CURVE_NAME, CURVE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 31, VALUE_OPT_SEC_PARAM,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 31, VALUE_OPT_SEC_PARAM,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SEC_PARAM_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --sec-param */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SEC_PARAM_DESC, SEC_PARAM_NAME, SEC_PARAM_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 0, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ WRITE_OBJECT_RELATED_OPTIONS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ WRITE_OBJECT_RELATED_OPTIONS_DESC, NULL, NULL,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 33, VALUE_OPT_SET_ID,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 33, VALUE_OPT_SET_ID,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SET_ID_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --set-id */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aSet_IdCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SET_ID_DESC, SET_ID_NAME, SET_ID_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 34, VALUE_OPT_SET_LABEL,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 34, VALUE_OPT_SET_LABEL,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SET_LABEL_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --set-label */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aSet_LabelCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SET_LABEL_DESC, SET_LABEL_NAME, SET_LABEL_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 35, VALUE_OPT_WRITE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 35, VALUE_OPT_WRITE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ WRITE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --write */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ WRITE_DESC, WRITE_NAME, WRITE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 36, VALUE_OPT_DELETE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 36, VALUE_OPT_DELETE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ DELETE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --delete */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ DELETE_DESC, DELETE_NAME, DELETE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 37, VALUE_OPT_LABEL,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 37, VALUE_OPT_LABEL,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LABEL_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --label */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LABEL_DESC, LABEL_NAME, LABEL_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 38, VALUE_OPT_ID,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 38, VALUE_OPT_ID,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ ID_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --id */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ ID_DESC, ID_NAME, ID_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 39, VALUE_OPT_MARK_WRAP,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 39, VALUE_OPT_MARK_WRAP,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_WRAP_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-wrap */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_WRAP_DESC, MARK_WRAP_NAME, MARK_WRAP_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_WRAP_name, NOT_MARK_WRAP_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 40, VALUE_OPT_MARK_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 40, VALUE_OPT_MARK_TRUSTED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_TRUSTED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-trusted */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aMark_TrustedCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_TRUSTED_DESC, MARK_TRUSTED_NAME, MARK_TRUSTED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_TRUSTED_name, NOT_MARK_TRUSTED_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 41, VALUE_OPT_MARK_DISTRUSTED,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 41, VALUE_OPT_MARK_DISTRUSTED,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_DISTRUSTED_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-distrusted */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, aMark_DistrustedCantList,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_DISTRUSTED_DESC, MARK_DISTRUSTED_NAME, MARK_DISTRUSTED_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 42, VALUE_OPT_MARK_DECRYPT,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 42, VALUE_OPT_MARK_DECRYPT,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_DECRYPT_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-decrypt */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_DECRYPT_DESC, MARK_DECRYPT_NAME, MARK_DECRYPT_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_DECRYPT_name, NOT_MARK_DECRYPT_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 43, VALUE_OPT_MARK_SIGN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 43, VALUE_OPT_MARK_SIGN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_SIGN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-sign */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_SIGN_DESC, MARK_SIGN_NAME, MARK_SIGN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_SIGN_name, NOT_MARK_SIGN_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 44, VALUE_OPT_MARK_CA,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 44, VALUE_OPT_MARK_CA,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_CA_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-ca */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_CA_DESC, MARK_CA_NAME, MARK_CA_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_CA_name, NOT_MARK_CA_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 45, VALUE_OPT_MARK_PRIVATE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 45, VALUE_OPT_MARK_PRIVATE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MARK_PRIVATE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --mark-private */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MARK_PRIVATE_DESC, MARK_PRIVATE_NAME, MARK_PRIVATE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_MARK_PRIVATE_name, NOT_MARK_PRIVATE_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 46, VALUE_OPT_CA,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 46, VALUE_OPT_CA,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ CA_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --ca */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptCa,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ CA_DESC, CA_NAME, CA_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 47, VALUE_OPT_PRIVATE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 47, VALUE_OPT_PRIVATE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ PRIVATE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --private */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptPrivate,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ PRIVATE_DESC, PRIVATE_NAME, PRIVATE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 48, VALUE_OPT_SECRET_KEY,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 48, VALUE_OPT_SECRET_KEY,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SECRET_KEY_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --secret-key */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SECRET_KEY_DESC, SECRET_KEY_NAME, SECRET_KEY_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 49, VALUE_OPT_LOAD_PRIVKEY,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 49, VALUE_OPT_LOAD_PRIVKEY,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_PRIVKEY_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-privkey */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Privkey,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_PRIVKEY_DESC, LOAD_PRIVKEY_NAME, LOAD_PRIVKEY_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 50, VALUE_OPT_LOAD_PUBKEY,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 50, VALUE_OPT_LOAD_PUBKEY,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_PUBKEY_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-pubkey */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Pubkey,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_PUBKEY_DESC, LOAD_PUBKEY_NAME, LOAD_PUBKEY_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 51, VALUE_OPT_LOAD_CERTIFICATE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 51, VALUE_OPT_LOAD_CERTIFICATE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOAD_CERTIFICATE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --load-certificate */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptLoad_Certificate,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOAD_CERTIFICATE_DESC, LOAD_CERTIFICATE_NAME, LOAD_CERTIFICATE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 0, 0,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 0, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OTHER_OPTIONS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OTHER_OPTIONS_DESC, NULL, NULL,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 53, VALUE_OPT_DEBUG,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 53, VALUE_OPT_DEBUG,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ DEBUG_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --debug */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptDebug,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ DEBUG_DESC, DEBUG_NAME, DEBUG_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 54, VALUE_OPT_OUTFILE,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 54, VALUE_OPT_OUTFILE,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTFILE_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outfile */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTFILE_DESC, OUTFILE_NAME, OUTFILE_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 55, VALUE_OPT_LOGIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 55, VALUE_OPT_LOGIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ LOGIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --login */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ LOGIN_DESC, LOGIN_NAME, LOGIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_LOGIN_name, NOT_LOGIN_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 56, VALUE_OPT_SO_LOGIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 56, VALUE_OPT_SO_LOGIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SO_LOGIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --so-login */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SO_LOGIN_DESC, SO_LOGIN_NAME, SO_LOGIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_SO_LOGIN_name, NOT_SO_LOGIN_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 57, VALUE_OPT_ADMIN_LOGIN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 57, VALUE_OPT_ADMIN_LOGIN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ ADMIN_LOGIN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --admin-login */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptAdmin_Login,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ ADMIN_LOGIN_DESC, ADMIN_LOGIN_NAME, ADMIN_LOGIN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 58, VALUE_OPT_TEST_SIGN,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 58, VALUE_OPT_TEST_SIGN,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ TEST_SIGN_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --test-sign */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ TEST_SIGN_DESC, TEST_SIGN_NAME, TEST_SIGN_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 59, VALUE_OPT_SIGN_PARAMS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 59, VALUE_OPT_SIGN_PARAMS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ SIGN_PARAMS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --sign-params */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ SIGN_PARAMS_DESC, SIGN_PARAMS_NAME, SIGN_PARAMS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 60, VALUE_OPT_HASH,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 60, VALUE_OPT_HASH,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ HASH_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --hash */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ HASH_DESC, HASH_NAME, HASH_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 61, VALUE_OPT_GENERATE_RANDOM,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 61, VALUE_OPT_GENERATE_RANDOM,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ GENERATE_RANDOM_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --generate-random */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ optionNumericVal,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ GENERATE_RANDOM_DESC, GENERATE_RANDOM_NAME, GENERATE_RANDOM_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 62, VALUE_OPT_PKCS8,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 62, VALUE_OPT_PKCS8,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ PKCS8_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --pkcs8 */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ PKCS8_DESC, PKCS8_NAME, PKCS8_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 63, VALUE_OPT_INDER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 63, VALUE_OPT_INDER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INDER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --inder */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INDER_DESC, INDER_NAME, INDER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_INDER_name, NOT_INDER_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 64, VALUE_OPT_INRAW,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 64, VALUE_OPT_INRAW,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ INRAW_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --inraw */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptInraw,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ INRAW_DESC, INRAW_NAME, INRAW_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 65, VALUE_OPT_OUTDER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 65, VALUE_OPT_OUTDER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTDER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outder */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTDER_DESC, OUTDER_NAME, OUTDER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_OUTDER_name, NOT_OUTDER_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 66, VALUE_OPT_OUTRAW,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 66, VALUE_OPT_OUTRAW,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OUTRAW_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --outraw */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptOutraw,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ OUTRAW_DESC, OUTRAW_NAME, OUTRAW_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ 0, 0 },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 67, VALUE_OPT_PROVIDER,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 67, VALUE_OPT_PROVIDER,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ PROVIDER_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --provider */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doOptProvider,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ PROVIDER_DESC, PROVIDER_NAME, PROVIDER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 68, VALUE_OPT_PROVIDER_OPTS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 68, VALUE_OPT_PROVIDER_OPTS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ PROVIDER_OPTS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --provider-opts */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ PROVIDER_OPTS_DESC, PROVIDER_OPTS_NAME, PROVIDER_OPTS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 69, VALUE_OPT_DETAILED_URL,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 69, VALUE_OPT_DETAILED_URL,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ DETAILED_URL_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --detailed-url */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ DETAILED_URL_DESC, DETAILED_URL_NAME, DETAILED_URL_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NOT_DETAILED_URL_name, NOT_DETAILED_URL_PFX },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 70, VALUE_OPT_ONLY_URLS,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 70, VALUE_OPT_ONLY_URLS,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ ONLY_URLS_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --only-urls */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ ONLY_URLS_DESC, ONLY_URLS_NAME, ONLY_URLS_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ 71, VALUE_OPT_BATCH,
|
|
Packit Service |
4684c1 |
/* equiv idx, value */ 71, VALUE_OPT_BATCH,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ BATCH_FLAGS, 0,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL }, /* --batch */
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ NULL,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ BATCH_DESC, BATCH_NAME, BATCH_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_VERSION,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ VER_FLAGS, AOUSE_VERSION,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ VER_PROC,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ VER_DESC, NULL, VER_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_HELP, VALUE_OPT_HELP,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_HELP,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ OPTST_IMM | OPTST_NO_INIT, AOUSE_HELP,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ doUsageOpt,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ HELP_DESC, NULL, HELP_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL },
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
{ /* entry idx, value */ INDEX_OPT_MORE_HELP, VALUE_OPT_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* equiv idx value */ NO_EQUIVALENT, VALUE_OPT_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* equivalenced to */ NO_EQUIVALENT,
|
|
Packit Service |
4684c1 |
/* min, max, act ct */ 0, 1, 0,
|
|
Packit Service |
4684c1 |
/* opt state flags */ MORE_HELP_FLAGS, AOUSE_MORE_HELP,
|
|
Packit Service |
4684c1 |
/* last opt argumnt */ { NULL },
|
|
Packit Service |
4684c1 |
/* arg list/cookie */ NULL,
|
|
Packit Service |
4684c1 |
/* must/cannot opts */ NULL, NULL,
|
|
Packit Service |
4684c1 |
/* option proc */ optionPagedUsage,
|
|
Packit Service |
4684c1 |
/* desc, NAME, name */ MORE_HELP_DESC, NULL, MORE_HELP_name,
|
|
Packit Service |
4684c1 |
/* disablement strs */ NULL, NULL }
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/** Reference to the upper cased version of p11tool. */
|
|
Packit Service |
4684c1 |
#define zPROGNAME (p11tool_opt_strs+5242)
|
|
Packit Service |
4684c1 |
/** Reference to the title line for p11tool usage. */
|
|
Packit Service |
4684c1 |
#define zUsageTitle (p11tool_opt_strs+5250)
|
|
Packit Service |
4684c1 |
/** There is no p11tool configuration file. */
|
|
Packit Service |
4684c1 |
#define zRcName NULL
|
|
Packit Service |
4684c1 |
/** There are no directories to search for p11tool config files. */
|
|
Packit Service |
4684c1 |
#define apzHomeList NULL
|
|
Packit Service |
4684c1 |
/** The p11tool program bug email address. */
|
|
Packit Service |
4684c1 |
#define zBugsAddr (p11tool_opt_strs+5345)
|
|
Packit Service |
4684c1 |
/** Clarification/explanation of what p11tool does. */
|
|
Packit Service |
4684c1 |
#define zExplain (p11tool_opt_strs+5361)
|
|
Packit Service |
4684c1 |
/** Extra detail explaining what p11tool does. */
|
|
Packit Service |
4684c1 |
#define zDetail (p11tool_opt_strs+5363)
|
|
Packit Service |
4684c1 |
/** The full version string for p11tool. */
|
|
Packit Service |
4684c1 |
#define zFullVersion (p11tool_opt_strs+5905)
|
|
Packit Service |
4684c1 |
/* extracted from optcode.tlib near line 342 */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#if defined(ENABLE_NLS)
|
|
Packit Service |
4684c1 |
# define OPTPROC_BASE OPTPROC_TRANSLATE | OPTPROC_NXLAT_OPT
|
|
Packit Service |
4684c1 |
static tOptionXlateProc translate_option_strings;
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
# define OPTPROC_BASE OPTPROC_NONE
|
|
Packit Service |
4684c1 |
# define translate_option_strings NULL
|
|
Packit Service |
4684c1 |
#endif /* ENABLE_NLS */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#define p11tool_full_usage (NULL)
|
|
Packit Service |
4684c1 |
#define p11tool_short_usage (p11tool_opt_strs+5920)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* not defined __doxygen__ */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Create the static procedure(s) declared above.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The callout function that invokes the optionUsage function.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] opts the AutoOpts option description structure
|
|
Packit Service |
4684c1 |
* @param[in] od the descriptor for the "help" (usage) option.
|
|
Packit Service |
4684c1 |
* @noreturn
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doUsageOpt(tOptions * opts, tOptDesc * od)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int ex_code;
|
|
Packit Service |
4684c1 |
ex_code = P11TOOL_EXIT_SUCCESS;
|
|
Packit Service |
4684c1 |
optionUsage(&p11toolOptions, ex_code);
|
|
Packit Service |
4684c1 |
/* NOTREACHED */
|
|
Packit Service |
4684c1 |
exit(P11TOOL_EXIT_FAILURE);
|
|
Packit Service |
4684c1 |
(void)opts;
|
|
Packit Service |
4684c1 |
(void)od;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the list-privkeys option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptList_Privkeys(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_LIST_ALL_PRIVKEYS);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the list-keys option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptList_Keys(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_LIST_ALL_PRIVKEYS);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the trusted option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptTrusted(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_MARK_TRUSTED);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the distrusted option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptDistrusted(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_MARK_DISTRUSTED);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the ca option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptCa(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_MARK_CA);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the private option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptPrivate(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_MARK_PRIVATE);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-privkey option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Privkey(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-pubkey option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Pubkey(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the load-certificate option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptLoad_Certificate(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MUST_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the debug option.
|
|
Packit Service |
4684c1 |
* Specifies the debug level.
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptDebug(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static struct {long rmin, rmax;} const rng[1] = {
|
|
Packit Service |
4684c1 |
{ 0 , 9999 } };
|
|
Packit Service |
4684c1 |
int ix;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
if (pOptions <= OPTPROC_EMIT_LIMIT)
|
|
Packit Service |
4684c1 |
goto emit_ranges;
|
|
Packit Service |
4684c1 |
optionNumericVal(pOptions, pOptDesc);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
for (ix = 0; ix < 1; ix++) {
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt < rng[ix].rmin)
|
|
Packit Service |
4684c1 |
continue; /* ranges need not be ordered. */
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt == rng[ix].rmin)
|
|
Packit Service |
4684c1 |
return;
|
|
Packit Service |
4684c1 |
if (rng[ix].rmax == LONG_MIN)
|
|
Packit Service |
4684c1 |
continue;
|
|
Packit Service |
4684c1 |
if (pOptDesc->optArg.argInt <= rng[ix].rmax)
|
|
Packit Service |
4684c1 |
return;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
option_usage_fp = stderr;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
emit_ranges:
|
|
Packit Service |
4684c1 |
optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the admin-login option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptAdmin_Login(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_SO_LOGIN);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the inraw option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptInraw(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_INDER);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the outraw option.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptOutraw(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
int res = optionAlias(pOptions, pOptDesc, INDEX_OPT_OUTDER);
|
|
Packit Service |
4684c1 |
if ((res != 0) && ((pOptions->fOptSet & OPTPROC_ERRSTOP) != 0))
|
|
Packit Service |
4684c1 |
USAGE(P11TOOL_EXIT_USAGE_ERROR);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Code to handle the provider option.
|
|
Packit Service |
4684c1 |
* This will override the default options in /etc/gnutls/pkcs11.conf
|
|
Packit Service |
4684c1 |
* @param[in] pOptions the p11tool options data structure
|
|
Packit Service |
4684c1 |
* @param[in,out] pOptDesc the option descriptor for this option.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
doOptProvider(tOptions* pOptions, tOptDesc* pOptDesc)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
static teOptFileType const type =
|
|
Packit Service |
4684c1 |
FTYPE_MODE_MAY_EXIST + FTYPE_MODE_NO_OPEN;
|
|
Packit Service |
4684c1 |
static tuFileMode mode;
|
|
Packit Service |
4684c1 |
#ifndef O_CLOEXEC
|
|
Packit Service |
4684c1 |
# define O_CLOEXEC 0
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
mode.file_flags = O_CLOEXEC;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* This function handles special invalid values for "pOptions"
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
optionFileCheck(pOptions, pOptDesc, type, mode);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
/* extracted from optmain.tlib near line 1250 */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The directory containing the data associated with p11tool.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#ifndef PKGDATADIR
|
|
Packit Service |
4684c1 |
# define PKGDATADIR ""
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Information about the person or institution that packaged p11tool
|
|
Packit Service |
4684c1 |
* for the current distribution.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#ifndef WITH_PACKAGER
|
|
Packit Service |
4684c1 |
# define p11tool_packager_info NULL
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
/** Packager information for p11tool. */
|
|
Packit Service |
4684c1 |
static char const p11tool_packager_info[] =
|
|
Packit Service |
4684c1 |
"Packaged by " WITH_PACKAGER
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
# ifdef WITH_PACKAGER_VERSION
|
|
Packit Service |
4684c1 |
" ("WITH_PACKAGER_VERSION")"
|
|
Packit Service |
4684c1 |
# endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
# ifdef WITH_PACKAGER_BUG_REPORTS
|
|
Packit Service |
4684c1 |
"\nReport p11tool bugs to " WITH_PACKAGER_BUG_REPORTS
|
|
Packit Service |
4684c1 |
# endif
|
|
Packit Service |
4684c1 |
"\n";
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#ifndef __doxygen__
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* __doxygen__ */
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* The option definitions for p11tool. The one structure that
|
|
Packit Service |
4684c1 |
* binds them all.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
tOptions p11toolOptions = {
|
|
Packit Service |
4684c1 |
OPTIONS_STRUCT_VERSION,
|
|
Packit Service |
4684c1 |
0, NULL, /* original argc + argv */
|
|
Packit Service |
4684c1 |
( OPTPROC_BASE
|
|
Packit Service |
4684c1 |
+ OPTPROC_ERRSTOP
|
|
Packit Service |
4684c1 |
+ OPTPROC_SHORTOPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_LONGOPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_NO_REQ_OPT
|
|
Packit Service |
4684c1 |
+ OPTPROC_NEGATIONS
|
|
Packit Service |
4684c1 |
+ OPTPROC_REORDER
|
|
Packit Service |
4684c1 |
+ OPTPROC_GNUUSAGE
|
|
Packit Service |
4684c1 |
+ OPTPROC_MISUSE ),
|
|
Packit Service |
4684c1 |
0, NULL, /* current option index, current option */
|
|
Packit Service |
4684c1 |
NULL, NULL, zPROGNAME,
|
|
Packit Service |
4684c1 |
zRcName, zCopyright, zLicenseDescrip,
|
|
Packit Service |
4684c1 |
zFullVersion, apzHomeList, zUsageTitle,
|
|
Packit Service |
4684c1 |
zExplain, zDetail, optDesc,
|
|
Packit Service |
4684c1 |
zBugsAddr, /* address to send bugs to */
|
|
Packit Service |
4684c1 |
NULL, NULL, /* extensions/saved state */
|
|
Packit Service |
4684c1 |
optionUsage, /* usage procedure */
|
|
Packit Service |
4684c1 |
translate_option_strings, /* translation procedure */
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Indexes to special options
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
{ INDEX_OPT_MORE_HELP, /* more-help option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT, /* save option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT, /* '-#' option index */
|
|
Packit Service |
4684c1 |
NO_EQUIVALENT /* index of default opt */
|
|
Packit Service |
4684c1 |
},
|
|
Packit Service |
4684c1 |
75 /* full option count */, 72 /* user option count */,
|
|
Packit Service |
4684c1 |
p11tool_full_usage, p11tool_short_usage,
|
|
Packit Service |
4684c1 |
NULL, NULL,
|
|
Packit Service |
4684c1 |
PKGDATADIR, p11tool_packager_info
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#if ENABLE_NLS
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* This code is designed to translate translatable option text for the
|
|
Packit Service |
4684c1 |
* p11tool program. These translations happen upon entry
|
|
Packit Service |
4684c1 |
* to optionProcess().
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#include <stdio.h>
|
|
Packit Service |
4684c1 |
#include <stdlib.h>
|
|
Packit Service |
4684c1 |
#include <string.h>
|
|
Packit Service |
4684c1 |
#include <unistd.h>
|
|
Packit Service |
4684c1 |
#ifdef HAVE_DCGETTEXT
|
|
Packit Service |
4684c1 |
# include <gettext.h>
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
#include <autoopts/usage-txt.h>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
static char * AO_gettext(char const * pz);
|
|
Packit Service |
4684c1 |
static void coerce_it(void ** s);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* AutoGen specific wrapper function for gettext. It relies on the macro _()
|
|
Packit Service |
4684c1 |
* to convert from English to the target language, then strdup-duplicates the
|
|
Packit Service |
4684c1 |
* result string. It tries the "libopts" domain first, then whatever has been
|
|
Packit Service |
4684c1 |
* set via the \a textdomain(3) call.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* @param[in] pz the input text used as a lookup key.
|
|
Packit Service |
4684c1 |
* @returns the translated text (if there is one),
|
|
Packit Service |
4684c1 |
* or the original text (if not).
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static char *
|
|
Packit Service |
4684c1 |
AO_gettext(char const * pz)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
char * res;
|
|
Packit Service |
4684c1 |
if (pz == NULL)
|
|
Packit Service |
4684c1 |
return NULL;
|
|
Packit Service |
4684c1 |
#ifdef HAVE_DCGETTEXT
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* While processing the option_xlateable_txt data, try to use the
|
|
Packit Service |
4684c1 |
* "libopts" domain. Once we switch to the option descriptor data,
|
|
Packit Service |
4684c1 |
* do *not* use that domain.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
if (option_xlateable_txt.field_ct != 0) {
|
|
Packit Service |
4684c1 |
res = dgettext("libopts", pz);
|
|
Packit Service |
4684c1 |
if (res == pz)
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
} else
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
#else
|
|
Packit Service |
4684c1 |
res = (char *)VOIDP(_(pz));
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
if (res == pz)
|
|
Packit Service |
4684c1 |
return res;
|
|
Packit Service |
4684c1 |
res = strdup(res);
|
|
Packit Service |
4684c1 |
if (res == NULL) {
|
|
Packit Service |
4684c1 |
fputs(_("No memory for duping translated strings\n"), stderr);
|
|
Packit Service |
4684c1 |
exit(P11TOOL_EXIT_FAILURE);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
return res;
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* All the pointers we use are marked "* const", but they are stored in
|
|
Packit Service |
4684c1 |
* writable memory. Coerce the mutability and set the pointer.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void coerce_it(void ** s) { *s = AO_gettext(*s);
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/**
|
|
Packit Service |
4684c1 |
* Translate all the translatable strings in the p11toolOptions
|
|
Packit Service |
4684c1 |
* structure defined above. This is done only once.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
static void
|
|
Packit Service |
4684c1 |
translate_option_strings(void)
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
tOptions * const opts = &p11toolOptions;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Guard against re-translation. It won't work. The strings will have
|
|
Packit Service |
4684c1 |
* been changed by the first pass through this code. One shot only.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
if (option_xlateable_txt.field_ct != 0) {
|
|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Do the translations. The first pointer follows the field count
|
|
Packit Service |
4684c1 |
* field. The field count field is the size of a pointer.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
char ** ppz = (char**)VOIDP(&(option_xlateable_txt));
|
|
Packit Service |
4684c1 |
int ix = option_xlateable_txt.field_ct;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
do {
|
|
Packit Service |
4684c1 |
ppz++; /* skip over field_ct */
|
|
Packit Service |
4684c1 |
*ppz = AO_gettext(*ppz);
|
|
Packit Service |
4684c1 |
} while (--ix > 0);
|
|
Packit Service |
4684c1 |
/* prevent re-translation and disable "libopts" domain lookup */
|
|
Packit Service |
4684c1 |
option_xlateable_txt.field_ct = 0;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzCopyright)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzCopyNotice)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzFullVersion)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzUsageTitle)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzExplain)));
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(opts->pzDetail)));
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
tOptDesc * od = opts->pOptDesc;
|
|
Packit Service |
4684c1 |
for (ix = opts->optCt; ix > 0; ix--, od++)
|
|
Packit Service |
4684c1 |
coerce_it(VOIDP(&(od->pzText)));
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif /* ENABLE_NLS */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifdef DO_NOT_COMPILE_THIS_CODE_IT_IS_FOR_GETTEXT
|
|
Packit Service |
4684c1 |
/** I18N function strictly for xgettext. Do not compile. */
|
|
Packit Service |
4684c1 |
static void bogus_function(void) {
|
|
Packit Service |
4684c1 |
/* TRANSLATORS:
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The following dummy function was crated solely so that xgettext can
|
|
Packit Service |
4684c1 |
extract the correct strings. These strings are actually referenced
|
|
Packit Service |
4684c1 |
by a field name in the p11toolOptions structure noted in the
|
|
Packit Service |
4684c1 |
comments below. The literal text is defined in p11tool_opt_strs.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
NOTE: the strings below are segmented with respect to the source string
|
|
Packit Service |
4684c1 |
p11tool_opt_strs. The strings above are handed off for translation
|
|
Packit Service |
4684c1 |
at run time a paragraph at a time. Consequently, they are presented here
|
|
Packit Service |
4684c1 |
for translation a paragraph at a time.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
ALSO: often the description for an option will reference another option
|
|
Packit Service |
4684c1 |
by name. These are set off with apostrophe quotes (I hope). Do not
|
|
Packit Service |
4684c1 |
translate option names.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzCopyright */
|
|
Packit Service |
4684c1 |
puts(_("p11tool 3.6.14\n\
|
|
Packit Service |
4684c1 |
Copyright (C) 2000-2020 Free Software Foundation, and others, all rights reserved.\n\
|
|
Packit Service |
4684c1 |
This is free software. It is licensed for use, modification and\n\
|
|
Packit Service |
4684c1 |
redistribution under the terms of the GNU General Public License,\n\
|
|
Packit Service |
4684c1 |
version 3 or later <http://gnu.org/licenses/gpl.html>\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzCopyNotice */
|
|
Packit Service |
4684c1 |
puts(_("p11tool is free software: you can redistribute it and/or modify it under\n\
|
|
Packit Service |
4684c1 |
the terms of the GNU General Public License as published by the Free\n\
|
|
Packit Service |
4684c1 |
Software Foundation, either version 3 of the License, or (at your option)\n\
|
|
Packit Service |
4684c1 |
any later version.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("p11tool is distributed in the hope that it will be useful, but WITHOUT ANY\n\
|
|
Packit Service |
4684c1 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n\
|
|
Packit Service |
4684c1 |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\n\
|
|
Packit Service |
4684c1 |
details.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("You should have received a copy of the GNU General Public License along\n\
|
|
Packit Service |
4684c1 |
with this program. If not, see <http://www.gnu.org/licenses/>.\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Tokens:"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available tokens"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List the URLs available tokens"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available mechanisms in a token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Initializes a PKCS #11 token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Initializes/Resets a PKCS #11 token user PIN"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Initializes/Resets a PKCS #11 token security officer PIN."));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the PIN to use on token operations"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the Security Officer's PIN to use on token initialization"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Object listing:"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available objects in a token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available certificates in a token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all certificates that have an associated private key"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available private keys in a token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'list-all-privkeys' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'list-all-privkeys' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List all available certificates marked as trusted"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Export the object specified by the URL"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Export the certificate object specified by the URL"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Export the certificate specified by the URL and its chain of trust"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Export the public key for a private key"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("List information on an available object in a token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'mark-trusted' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'mark-distrusted' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Key generation:"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generate private-public key pair of given type"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generate an RSA private-public key pair (deprecated)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generate a DSA private-public key pair (deprecated)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generate an ECDSA private-public key pair (deprecated)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the number of bits for the key generate"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the curve used for EC key generation"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the security level"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Writing objects:"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Set the CKA_ID (in hex) for the specified by the URL object"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Set the CKA_LABEL for the specified by the URL object"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Writes the loaded objects to a PKCS #11 token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Deletes the objects matching the given PKCS #11 URL"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Sets a label for the write operation"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Sets an ID for the write operation"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the generated key to be a wrapping key"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the object to be written as trusted"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("When retrieving objects, it requires the objects to be distrusted\n\
|
|
Packit Service |
4684c1 |
(blacklisted)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the object to be written for decryption"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the object to be written for signature generation"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the object to be written as a CA"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Marks the object to be written as private"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'mark-ca' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'mark-private' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Provide a hex encoded secret key"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Private key file to use"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Public key file to use"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Certificate file to use"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Other options:"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Enable debugging"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Output file"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Force (user) login to token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Force security officer login to token"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'so-login' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Tests the signature operation of the provided object"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Sign with a specific signature algorithm"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Hash algorithm to use for signing"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Generate random data"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use PKCS #8 format for private keys"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use DER/RAW format for input"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'inder' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Use DER format for output certificates, private keys, and DH parameters"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("an alias for the 'outder' option"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify the PKCS #11 provider library"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Specify parameters for the PKCS #11 provider library (deprecated)"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Print detailed URLs"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Print a compact listing using only the URLs"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("Disable all interaction with the tool"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("display extended usage information and exit"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("extended usage information passed thru pager"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pOptDesc->pzText */
|
|
Packit Service |
4684c1 |
puts(_("output version information and exit"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzUsageTitle */
|
|
Packit Service |
4684c1 |
puts(_("p11tool - GnuTLS PKCS #11 tool\n\
|
|
Packit Service |
4684c1 |
Usage: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [url]\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzExplain */
|
|
Packit Service |
4684c1 |
puts(_("\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzDetail */
|
|
Packit Service |
4684c1 |
puts(_("Program that allows operations on PKCS #11 smart cards and security\n\
|
|
Packit Service |
4684c1 |
modules.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("To use PKCS #11 tokens with GnuTLS the p11-kit configuration files need to\n\
|
|
Packit Service |
4684c1 |
be setup. That is create a .module file in /etc/pkcs11/modules with the\n\
|
|
Packit Service |
4684c1 |
contents 'module: /path/to/pkcs11.so'. Alternatively the configuration\n\
|
|
Packit Service |
4684c1 |
file /etc/gnutls/pkcs11.conf has to exist and contain a number of lines of\n\
|
|
Packit Service |
4684c1 |
the form 'load=/usr/lib/opensc-pkcs11.so'.\n\n"));
|
|
Packit Service |
4684c1 |
puts(_("You can provide the PIN to be used for the PKCS #11 operations with the\n\
|
|
Packit Service |
4684c1 |
environment variables GNUTLS_PIN and GNUTLS_SO_PIN.\n"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzFullVersion */
|
|
Packit Service |
4684c1 |
puts(_("p11tool 3.6.14"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzFullUsage */
|
|
Packit Service |
4684c1 |
puts(_("<<<NOT-FOUND>>>"));
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* referenced via p11toolOptions.pzShortUsage */
|
|
Packit Service |
4684c1 |
puts(_("p11tool [options] [url]\n\
|
|
Packit Service |
4684c1 |
p11tool --help for usage instructions.\n"));
|
|
Packit Service |
4684c1 |
/* LIBOPTS-MESSAGES: */
|
|
Packit Service |
4684c1 |
#line 67 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("allocation of %d bytes failed\n"));
|
|
Packit Service |
4684c1 |
#line 89 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("allocation of %d bytes failed\n"));
|
|
Packit Service |
4684c1 |
#line 48 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("AutoOpts function called without option descriptor\n"));
|
|
Packit Service |
4684c1 |
#line 81 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("\tThis exceeds the compiled library version: "));
|
|
Packit Service |
4684c1 |
#line 79 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("Automated Options Processing Error!\n"
|
|
Packit Service |
4684c1 |
"\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
|
|
Packit Service |
4684c1 |
#line 78 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("realloc of %d bytes at 0x%p failed\n"));
|
|
Packit Service |
4684c1 |
#line 83 "../init.c"
|
|
Packit Service |
4684c1 |
puts(_("\tThis is less than the minimum library version: "));
|
|
Packit Service |
4684c1 |
#line 121 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("Automated Options version %s\n"
|
|
Packit Service |
4684c1 |
"\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n"));
|
|
Packit Service |
4684c1 |
#line 49 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("(AutoOpts bug): %s.\n"));
|
|
Packit Service |
4684c1 |
#line 90 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("optionResetOpt() called, but reset-option not configured"));
|
|
Packit Service |
4684c1 |
#line 241 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("could not locate the 'help' option"));
|
|
Packit Service |
4684c1 |
#line 330 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("optionProcess() was called with invalid data"));
|
|
Packit Service |
4684c1 |
#line 697 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("invalid argument type specified"));
|
|
Packit Service |
4684c1 |
#line 568 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("defaulted to option with optional arg"));
|
|
Packit Service |
4684c1 |
#line 76 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("aliasing option is out of range."));
|
|
Packit Service |
4684c1 |
#line 210 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: the keyword '%s' is ambiguous for %s\n"));
|
|
Packit Service |
4684c1 |
#line 78 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_(" The following options match:\n"));
|
|
Packit Service |
4684c1 |
#line 263 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
|
|
Packit Service |
4684c1 |
#line 161 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: Command line arguments required\n"));
|
|
Packit Service |
4684c1 |
#line 43 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("%d %s%s options allowed\n"));
|
|
Packit Service |
4684c1 |
#line 56 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error %d (%s) calling %s for '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 268 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("interprocess pipe"));
|
|
Packit Service |
4684c1 |
#line 171 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("error: version option argument '%c' invalid. Use:\n"
|
|
Packit Service |
4684c1 |
"\t'v' - version only\n"
|
|
Packit Service |
4684c1 |
"\t'c' - version and copyright\n"
|
|
Packit Service |
4684c1 |
"\t'n' - version and full copyright notice\n"));
|
|
Packit Service |
4684c1 |
#line 58 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: the '%s' and '%s' options conflict\n"));
|
|
Packit Service |
4684c1 |
#line 187 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option has been disabled."));
|
|
Packit Service |
4684c1 |
#line 400 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option has been disabled."));
|
|
Packit Service |
4684c1 |
#line 38 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("-equivalence"));
|
|
Packit Service |
4684c1 |
#line 439 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %c\n"));
|
|
Packit Service |
4684c1 |
#line 110 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %c\n"));
|
|
Packit Service |
4684c1 |
#line 241 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 740 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 118 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: illegal option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 305 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: unknown vendor extension option -- %s\n"));
|
|
Packit Service |
4684c1 |
#line 135 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer from %d through %d\n"));
|
|
Packit Service |
4684c1 |
#line 145 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer from %d through %d\n"));
|
|
Packit Service |
4684c1 |
#line 696 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: invalid option descriptor for %s\n"));
|
|
Packit Service |
4684c1 |
#line 1030 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: invalid option descriptor for %s\n"));
|
|
Packit Service |
4684c1 |
#line 355 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: invalid option name: %s\n"));
|
|
Packit Service |
4684c1 |
#line 497 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option requires an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 150 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
|
|
Packit Service |
4684c1 |
"\t'%s' and '%s'."));
|
|
Packit Service |
4684c1 |
#line 94 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The %s option is required\n"));
|
|
Packit Service |
4684c1 |
#line 602 "../find.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: The '%s' option cannot have an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 151 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s: Command line arguments are not allowed.\n"));
|
|
Packit Service |
4684c1 |
#line 568 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) creating %s\n"));
|
|
Packit Service |
4684c1 |
#line 210 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' does not match any %s keywords.\n"));
|
|
Packit Service |
4684c1 |
#line 93 "../reset.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The '%s' option requires an argument.\n"));
|
|
Packit Service |
4684c1 |
#line 122 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) stat-ing %s\n"));
|
|
Packit Service |
4684c1 |
#line 175 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("error %d (%s) stat-ing %s\n"));
|
|
Packit Service |
4684c1 |
#line 143 "../restore.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: no saved option state\n"));
|
|
Packit Service |
4684c1 |
#line 225 "../autoopts.c"
|
|
Packit Service |
4684c1 |
puts(_("'%s' is not a command line option.\n"));
|
|
Packit Service |
4684c1 |
#line 113 "../time.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable date/time.\n"));
|
|
Packit Service |
4684c1 |
#line 50 "../time.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable time duration.\n"));
|
|
Packit Service |
4684c1 |
#line 92 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: The %s option must appear %d times.\n"));
|
|
Packit Service |
4684c1 |
#line 165 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: '%s' is not a recognizable number.\n"));
|
|
Packit Service |
4684c1 |
#line 176 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s exceeds %s keyword count\n"));
|
|
Packit Service |
4684c1 |
#line 279 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Try '%s %s' for more information.\n"));
|
|
Packit Service |
4684c1 |
#line 45 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("one %s%s option allowed\n"));
|
|
Packit Service |
4684c1 |
#line 170 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 905 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 223 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 364 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 574 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 178 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("standard output"));
|
|
Packit Service |
4684c1 |
#line 223 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 364 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 574 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 178 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("standard error"));
|
|
Packit Service |
4684c1 |
#line 170 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 905 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 222 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 363 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 573 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 177 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("write"));
|
|
Packit Service |
4684c1 |
#line 60 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s option value %ld is out of range.\n"));
|
|
Packit Service |
4684c1 |
#line 44 "../check.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: %s option requires the %s option\n"));
|
|
Packit Service |
4684c1 |
#line 121 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 174 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 193 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
#line 567 "../save.c"
|
|
Packit Service |
4684c1 |
puts(_("%s warning: cannot save options - %s not regular file\n"));
|
|
Packit Service |
4684c1 |
/* END-LIBOPTS-MESSAGES */
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* USAGE-TEXT: */
|
|
Packit Service |
4684c1 |
#line 822 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- an alternate for '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 1097 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Version, usage and configuration options:"));
|
|
Packit Service |
4684c1 |
#line 873 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- default option for unnamed options\n"));
|
|
Packit Service |
4684c1 |
#line 786 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- disabled as '--%s'\n"));
|
|
Packit Service |
4684c1 |
#line 1066 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" --- %-14s %s\n"));
|
|
Packit Service |
4684c1 |
#line 1064 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("This option has been disabled"));
|
|
Packit Service |
4684c1 |
#line 813 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- enabled by default\n"));
|
|
Packit Service |
4684c1 |
#line 40 "../alias.c"
|
|
Packit Service |
4684c1 |
puts(_("%s error: only "));
|
|
Packit Service |
4684c1 |
#line 1143 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" - examining environment variables named %s_*\n"));
|
|
Packit Service |
4684c1 |
#line 168 "../file.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- file must not pre-exist\n"));
|
|
Packit Service |
4684c1 |
#line 172 "../file.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- file must pre-exist\n"));
|
|
Packit Service |
4684c1 |
#line 329 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Options are specified by doubled hyphens and their name or by a single\n"
|
|
Packit Service |
4684c1 |
"hyphen and the flag character.\n"));
|
|
Packit Service |
4684c1 |
#line 882 "../makeshell.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"= = = = = = = =\n\n"
|
|
Packit Service |
4684c1 |
"This incarnation of genshell will produce\n"
|
|
Packit Service |
4684c1 |
"a shell script to parse the options for %s:\n\n"));
|
|
Packit Service |
4684c1 |
#line 142 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_(" or an integer mask with any of the lower %d bits set\n"));
|
|
Packit Service |
4684c1 |
#line 846 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- is a set membership option\n"));
|
|
Packit Service |
4684c1 |
#line 867 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- must appear between %d and %d times\n"));
|
|
Packit Service |
4684c1 |
#line 331 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Options are specified by single or double hyphens and their name.\n"));
|
|
Packit Service |
4684c1 |
#line 853 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may appear multiple times\n"));
|
|
Packit Service |
4684c1 |
#line 840 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may not be preset\n"));
|
|
Packit Service |
4684c1 |
#line 1258 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1194 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1252 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Description\n"));
|
|
Packit Service |
4684c1 |
#line 1253 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" %3s %s"));
|
|
Packit Service |
4684c1 |
#line 1259 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" %3s %s"));
|
|
Packit Service |
4684c1 |
#line 336 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("The '-#<number>' option may omit the hash char\n"));
|
|
Packit Service |
4684c1 |
#line 332 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("All arguments are named options.\n"));
|
|
Packit Service |
4684c1 |
#line 920 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" - reading file %s"));
|
|
Packit Service |
4684c1 |
#line 358 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 100 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 129 "../version.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"Please send bug reports to: <%s>\n"));
|
|
Packit Service |
4684c1 |
#line 852 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may NOT appear - preset only\n"));
|
|
Packit Service |
4684c1 |
#line 893 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"The following option preset mechanisms are supported:\n"));
|
|
Packit Service |
4684c1 |
#line 1141 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\n"
|
|
Packit Service |
4684c1 |
"The following option preset mechanisms are supported:\n"));
|
|
Packit Service |
4684c1 |
#line 631 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("prohibits these options:\n"));
|
|
Packit Service |
4684c1 |
#line 626 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("prohibits the option '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 81 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s%ld to %ld"));
|
|
Packit Service |
4684c1 |
#line 79 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sgreater than or equal to %ld"));
|
|
Packit Service |
4684c1 |
#line 75 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%s%ld exactly"));
|
|
Packit Service |
4684c1 |
#line 68 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sit must lie in one of the ranges:\n"));
|
|
Packit Service |
4684c1 |
#line 68 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sit must be in the range:\n"));
|
|
Packit Service |
4684c1 |
#line 88 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_(", or\n"));
|
|
Packit Service |
4684c1 |
#line 66 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
|
|
Packit Service |
4684c1 |
#line 77 "../numeric.c"
|
|
Packit Service |
4684c1 |
puts(_("%sless than or equal to %ld"));
|
|
Packit Service |
4684c1 |
#line 339 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("Operands and options may be intermixed. They will be reordered.\n"));
|
|
Packit Service |
4684c1 |
#line 601 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("requires the option '%s'\n"));
|
|
Packit Service |
4684c1 |
#line 604 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("requires these options:\n"));
|
|
Packit Service |
4684c1 |
#line 1270 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Arg Option-Name Req? Description\n"));
|
|
Packit Service |
4684c1 |
#line 1264 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_(" Flg Arg Option-Name Req? Description\n"));
|
|
Packit Service |
4684c1 |
#line 143 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("or you may use a numeric representation. Preceding these with a '!'\n"
|
|
Packit Service |
4684c1 |
"will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
|
|
Packit Service |
4684c1 |
"will set them all. Multiple entries may be passed as an option\n"
|
|
Packit Service |
4684c1 |
"argument list.\n"));
|
|
Packit Service |
4684c1 |
#line 859 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("\t\t\t\t- may appear up to %d times\n"));
|
|
Packit Service |
4684c1 |
#line 52 "../enum.c"
|
|
Packit Service |
4684c1 |
puts(_("The valid \"%s\" option keywords are:\n"));
|
|
Packit Service |
4684c1 |
#line 1101 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("The next option supports vendor supported extra options:"));
|
|
Packit Service |
4684c1 |
#line 722 "../usage.c"
|
|
Packit Service |
4684c1 |
puts(_("These additional options are:"));
|
|
Packit Service |
4684c1 |
/* END-USAGE-TEXT */
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif /* uncompilable code */
|
|
Packit Service |
4684c1 |
#ifdef __cplusplus
|
|
Packit Service |
4684c1 |
}
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
/* p11tool-args.c ends here */
|