Print this page
11628 typos detected by mandoc style

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3lib/libpkcs11.3lib
          +++ new/usr/src/man/man3lib/libpkcs11.3lib
   1    1  .\" Copyright (c) 2008, Sun Microsystems, Inc.  All rights reserved.
   2    2  .\" Copyright 2016 Jason King.
        3 +.\" Copyright 2019 Peter Tribble.
   3    4  .\"
   4    5  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5    6  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6    7  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7      -.Dd Oct 19, 2016
        8 +.Dd Aug 27, 2019
   8    9  .Dt LIBPKCS11 3LIB
   9   10  .Os
  10   11  .Sh NAME
  11   12  .Nm libpkcs11
  12   13  .Nd PKCS#11 Cryptographic Framework library
  13   14  .Sh SYNOPSIS
  14   15  .Lb libpkcs11
  15   16  .In security/cryptoki.h
  16   17  .In security/pkcs11.h
  17   18  .Sh DESCRIPTION
↓ open down ↓ 34 lines elided ↑ open up ↑
  52   53  using these environment variables.
  53   54  .Lp
  54   55  The
  55   56  .Ev ${METASLOT_OBJECTSTORE_SLOT}
  56   57  and
  57   58  .Ev ${METASLOT_OBJECTSTORE_TOKEN}
  58   59  environment variables are used to specify an alternate token object store.
  59   60  A user can specify either slot-description in
  60   61  .Ev ${METASLOT_OBJECTSTORE_SLOT}
  61   62  or token-label in
  62      -.Ev ${METASLOT_OBJECTSTORE_TOKEN} , or both.
       63 +.Ev ${METASLOT_OBJECTSTORE_TOKEN} ,
       64 +or both.
  63   65  Valid values for slot-description and token-label are available from output of
  64   66  the command:
  65   67  .Bd -literal -offset indent
  66   68  # cryptoadm list -v
  67   69  .Ed
  68   70  .Lp
  69   71  The
  70   72  .Ev ${METASLOT_ENABLED}
  71   73  environment variable is used to specify whether
  72   74  the user wants to turn the metaslot feature on or off.
↓ open down ↓ 15 lines elided ↑ open up ↑
  88   90  When the meta slot feature is enabled, the slot that provides token-based
  89   91  object support is not shown as one of the available slots.
  90   92  All of its functionality can be used with the meta slot.
  91   93  .Lp
  92   94  This library filters the list of mechanisms available from plug-ins based on
  93   95  the policy set by
  94   96  .Xr cryptoadm 1M .
  95   97  .Lp
  96   98  This library provides entry points for all PKCS#11 v2.40 functions.
  97   99  See the PKCS#11 v2.40 specifications at
  98      -.Lk http://www.oasis-open.org.
      100 +.Lk http://www.oasis-open.org .
  99  101  .Lp
 100  102  Plug-ins are added to
 101  103  .Nm
 102  104  by the
 103  105  .Sy pkcs11conf
 104  106  class action
 105  107  script during execution of
 106  108  .Xr pkgadd 1M .
 107  109  The available mechanisms are administered by the
 108  110  .Xr cryptoadm 1M
 109  111  utility.
 110  112  .Lp
 111      -Plug-ins must have all of their library dependancies specified, including
      113 +Plug-ins must have all of their library dependencies specified, including
 112  114  .Xr libc 3LIB .
 113  115  Libraries that have unresolved symbols, including those from
 114  116  .Xr libc 3LIB ,
 115  117  will be rejected and a message will be sent to
 116  118  .Xr syslog 3C
 117  119  for such plug-ins.
 118  120  .Lp
 119  121  Due to U.S. Export regulations, all plug-ins are required to be
 120  122  cryptographically signed using the
 121  123  .Xr elfsign 1
↓ open down ↓ 77 lines elided ↑ open up ↑
 199  201  See
 200  202  .Xr attributes 5
 201  203  for descriptions of the following attributes:
 202  204  .Sh INTERFACE STABILITY
 203  205  .Sy Committed
 204  206  .Sh MT-LEVEL
 205  207  The SUNW Extension functions are MT-Safe.
 206  208  The PKCS#11 Standard functions are MT-Safe with exceptions.
 207  209  See Section 2.5.3 of PKCS#11 Cryptographic Token Usage Guide v2.40 and
 208  210  Section 5.1.5 of PKCS#11 Cryptographic Token Interface Base Standard v2.40
 209      -.Sh STANDARD
 210      -The PKCS#11 Standard functions conform to PKCS#11 Cryptographic Token
 211      -Interface Profiles v2.40 Extended Provider.
 212  211  .Sh SEE ALSO
 213  212  .Xr cryptoadm 1M ,
 214  213  .Xr pkgadd 1M ,
 215  214  .Xr Intro 3 ,
 216  215  .Xr syslog 3C ,
 217  216  .Xr SUNW_C_GetMechSession 3EXT ,
 218  217  .Xr attributes 5  ,
 219  218  .Xr pkcs11_kernel 5 ,
 220  219  .Xr pkcs11_softtoken 5
 221  220  .Rs
↓ open down ↓ 1 lines elided ↑ open up ↑
 223  222  .%U http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/errata01/os/pkcs11-base-v2.40-errata01-os.html
 224  223  .Re
 225  224  .Rs
 226  225  .%T "PKCS#11 Cryptographic Token Interface Profiles v2.40"
 227  226  .%U http://docs.oasis-open.org/pkcs11/pkcs11-profiles/v2.40/pkcs11-profiles-v2.40.html
 228  227  .Re
 229  228  .Rs
 230  229  .%T "PKCS#11 Cryptographic Token Interface Usage Guide v2.40"
 231  230  .%U http://docs.oasis-open.org/pkcs11/pkcs11-ug/v2.40/pkcs11-ug-v2.40.html
 232  231  .Re
      232 +.Sh STANDARDS
      233 +The PKCS#11 Standard functions conform to PKCS#11 Cryptographic Token
      234 +Interface Profiles v2.40 Extended Provider.
 233  235  .Sh NOTES
 234  236  If an application calls
 235  237  .Fn C_WaitForSlotEvent
 236  238  without the
 237  239  .Dv CKF_DONT_BLOCK
 238  240  flag set,
 239  241  .Nm
 240  242  must create threads internally.
 241  243  If, however,
 242  244  .Dv CKF_LIBRARY_CANT_CREATE_OS_THREADS
 243  245  is set,
 244  246  .Fn C_WaitForSlotEvent
 245  247  returns
 246  248  .Dv CKR_FUNCTION_FAILED .
 247  249  .Lp
 248      -The PKCS#11 library does not work with Netscape 4.\fIx\fR but does work with
 249      -more recent versions of Netscape and Mozilla.
 250      -.Lp
 251  250  Because
 252      -.Fn C_Initalize
      251 +.Fn C_Initialize
 253  252  might have been called by both an application and a
 254  253  library, it is not safe for a library or its plugins to call
 255  254  .Fn C_Finalize .
 256  255  A library can be finished calling functions from
 257  256  .Nm ,
 258  257  while an application might not.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX