JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Security for Developers Guide
search filter icon
search icon

Document Information


1.  Oracle Solaris Security for Developers (Overview)

2.  Developing Privileged Applications

3.  Writing PAM Applications and Services

4.  Writing Applications That Use GSS-API

5.  GSS-API Client Example

6.  GSS-API Server Example

7.  Writing Applications That Use SASL

8.  Introduction to the Oracle Solaris Cryptographic Framework

9.  Writing User-Level Cryptographic Applications and Providers

Overview of the Cryptoki Library

PKCS #11 Function List

Functions for Using PKCS #11

PKCS #11 Functions: C_Initialize()

PKCS #11 Functions: C_GetInfo()

PKCS #11 Functions: C_GetSlotList()

PKCS #11 Functions: C_GetTokenInfo()

PKCS #11 Functions: C_OpenSession()

PKCS #11 Functions: C_GetMechanismList()

Extended PKCS #11 Functions

Extended PKCS #11 Functions: SUNW_C_GetMechSession()

Extended PKCS #11 Functions: SUNW_C_KeyToObject

User-Level Cryptographic Application Examples

Message Digest Example

Symmetric Encryption Example

Sign and Verify Example

Random Byte Generation Example

User-Level Provider Example

10.  Using the Smart Card Framework

A.  Sample C-Based GSS-API Programs

B.  GSS-API Reference

C.  Specifying an OID

D.  Source Code for SASL Example

E.  SASL Reference Tables

F.  Packaging and Signing Cryptographic Providers



User-Level Provider Example

For an example of a user-level provider, see the pkcs11_softtoken example in OpenSolaris. This is a working provider that you can use as a foundation for your own provider.

To access the code for this provider, go to the OpenSolaris source web site at In the File Path field, enter pkcs11_softtoken/common, make sure the onnv Project is selected, and click the Search button.