IAIK PKCS#11 Wrapper
version 1.5

Package iaik.pkcs.pkcs11

This package provides a object oriented API to access PKCS#11 modules.

See:
          Description

Interface Summary
InitializeArgs The interface that an object must implement to be a valid parameter for the initialize method of a Module object.
Module.SlotRequirement This interface defines the required properties for a slot.
Module.WaitingBehavior This interface defines the allowed constants for the wanted waiting behavior when calling waitForSlotEvent.
MutexHandler Objects that implement this interface can be used in the InitializeArgs to handle mutex functionality.
Notify Interface for notification callbacks.
Session.UserType This interface defines the different user types of PKCS#11.
Token.SessionReadWriteBehavior This interface defines constants that specify the read/write behavior of a session.
Token.SessionType This interface defines constants for the type of session that should be opened upon a call to openSession.
 

Class Summary
DefaultInitializeArgs This class is a simeple implementation of InitializeArgs.
DefaultMutexHandler This class offers a default-implementation of a MutexHandler.
Info Objects of this class provide information about a PKCS#11 moduel; i.e.
Mechanism Objects of this class represent a mechansim as defined in PKCS#11.
MechanismInfo Objects of this class provide information about a certain mechanism that a token implements.
Module Objects of this class represent a PKCS#11 module.
Session Session objects are used to perform cryptographic operations on a token.
SessionInfo An object of this class provides information about a session.
Slot Objects of this class represent slots that can accept tokens.
SlotInfo Objects of this call provide information about a slot.
State Objects of this class show the state of a session.
Token Objects of this class represent PKCS#11 tokens.
TokenInfo Objects of this class provide information about a token.
Util A class consisting of static methods only which provide certain static piecec of code that are used frequently in this project.
Version Objects of this class represent a version.
 

Exception Summary
TokenException The base class for all exceptions in this package.
TokenRuntimeException The base class for all runtiem exceptions in this package.
UnsupportedAttributeException  
 

Package iaik.pkcs.pkcs11 Description

This package provides a object oriented API to access PKCS#11 modules. An application can access PKCS#11 through this API rather than working directly with the iaik.pkcs.pkcs11.wrapper package. If an application uses this object oriented API, it does not need to work with any of the classes or interfaces from the iaik.pkcs.pkcs11.wrapper package at all. All the functionality is available on both levels. This package just provides the 'functional' components of the API; all objects are in the iaik.pkcs.pkcs11.object package. In principal, every application starts using this package by calling Module.getInstance(String) and passing the name of the underlying PKCS#11 module as a parameter; e.g. "C:\Program Files\Drivers\myPkcs11Driver.dll". Do not forget to call the initialize(InitializeArgs) method on this module before calling any other method. Even though it is object oriented, it is a relatively straight-forward object model of PKCS#11.


IAIK PKCS#11 Wrapper
version 1.5

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.5