Print this page
11628 typos detected by mandoc style

@@ -1,16 +1,15 @@
 '\" te
 .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved.
 .\" 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.
 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or  See the License for the specific language governing permissions and limitations under the License.
 .\" 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]
 SUNW_C_GetMechSession, SUNW_C_KeyToObject \- PKCS#11 Cryptographic Framework
 cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lpkcs11\fR [ \fIlibrary\&.\|.\|.\fR ]
 #include <security/cryptoki.h>
 #include <security/pkcs11.h>

@@ -24,25 +23,24 @@
      \fBCK_MECHANISM_TYPE\fR \fImech\fR, \fBconst void *\fR\fIrawkey\fR, \fBsize_t\fR \fIrawkey_len\fR,
      \fBCK_OBJECT_HANDLE_PTR\fR \fIobj\fR);
 These functions implement the RSA PKCS#11 v2.20 specification by using plug-ins
 to provide the slots.
 The \fBSUNW_C_GetMechSession()\fR function initializes the PKCS#11
 cryptographic framework and performs all necessary calls to Standard PKCS#11
 functions (see \fBlibpkcs11\fR(3LIB)) to create a session capable of providing
 operations on the requested mechanism. It is not necessary to call
-\fBC_Initalize()\fR or \fBC_GetSlotList()\fR before the first call to
+\fBC_Initialize()\fR or \fBC_GetSlotList()\fR before the first call to
 If the \fBSUNW_C_GetMechSession()\fR function is called multiple times, it will
-return a new session each time without re-initalizing the framework. If it is
+return a new session each time without re-initializing the framework. If it is
 unable to return a new session, \fBCKR_SESSION_COUNT\fR is returned.
 The \fBC_CloseSession()\fR function should be called to release the session
 when it is no longer required.

@@ -50,11 +48,10 @@
 The \fBSUNW_C_KeyToObject()\fR function creates a key object for the specified
 mechanism from the \fIrawkey\fR data. The object should be destroyed with
 \fBC_DestroyObject()\fR when it is no longer required.
 The \fBSUNW_C_GetMechSession()\fR function returns the following values:
 .ne 2

@@ -161,17 +158,15 @@
 The return values of each of the implemented functions are defined and listed
 in the RSA PKCS#11 v2.20 specification. See
 These functions are not part of the RSA PKCS#11 v2.20 specification. They are
 not likely to exist on non-Solaris systems. They are provided as a convenience
 to application programmers. Use of these functions will make the application
 non-portable to other systems.
 See \fBattributes\fR(5) for descriptions of the following attributes:

@@ -184,10 +179,9 @@
 MT-Level        MT-Safe
 \fBlibpkcs11\fR(3LIB), \fBattributes\fR(5)