From 9e3c08db40b8916968b9f30096c7be3f00ce9647 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:44:51 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- security/nss/tests/libpkix/sample_apps/README | 77 +++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 security/nss/tests/libpkix/sample_apps/README (limited to 'security/nss/tests/libpkix/sample_apps/README') diff --git a/security/nss/tests/libpkix/sample_apps/README b/security/nss/tests/libpkix/sample_apps/README new file mode 100755 index 0000000000..012e7bf7eb --- /dev/null +++ b/security/nss/tests/libpkix/sample_apps/README @@ -0,0 +1,77 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +This directory contains both sample applications and performance evaluation +applications. + +SAMPLE APPLICATIONS + +Currently, there are two performance applications: libpkix_buildThreads and +nss_threads. And three sample applications: dumpcert, dumpcrl and +validateChain.. + +============================================================================ + +USAGE: dumpcert + Parses a certificate located at and displays it. + +Source: /tests/sample_apps/dumpcert.c +Binary: /bin/sample_apps/dumpcert + +============================================================================ + +USAGE: dumpcrl + Parses a CRL located at and displays it. + +Source: /tests/sample_apps/dumpcrl.c +Binary: /bin/sample_apps/dumpcrl + +============================================================================ + +USAGE: validateChain ... + Validates a chain of n certificates using the given trust anchor. + +Source: /tests/sample_apps/validateChain.c +Binary: /bin/sample_apps/validateChain + +============================================================================ + +PERFORMANCE EVALUATION APPLICATIONS + +============================================================================ + +USAGE: libpkix_buildthreads + + Sets up and runs a PKIX_BuildChain call for the number of seconds + specified by using the number of threads specified by + . This application assumes that the NSS certutil application + has already been run to create the NSS databases and that the + various nicknames on the command line have been associated with + certificates in the NSS databases. The NSS databases MUST reside + in the directory where this file is located and MUST be named + "cert8.db", "key3.db", and "secmod.db". There must exist a nickname + in the databases which has been marked as trusted. + +Source: /perf/libpkix_buildthreads/libpkix_buildthreads.c +Binary: /perf/libpkix_buildthreads/*.OBJ/libpkix_buildthreads + +============================================================================ + +USAGE: nssThreads + + Sets up and runs a CERT_VerifyCertificate call for the number of + seconds specified by using the number of threads specified + by . This application assumes that the NSS certutil + application has already been run to create the NSS databases and that + the various nicknames on the command line have been associated with + certificates in the NSS databases. The NSS databases MUST reside + in the directory where this file is located and MUST be named + "cert8.db", "key3.db", and "secmod.db". There must exist a nickname in + the databases which has been marked as trusted. + +Source: /perf/nss_threads/nss_threads.c +Binary: /perf/nss_threads/*.OBJ/nss_threads + +============================================================================ + -- cgit v1.2.3