IAIK PKCS#11 Wrapper
version 1.5

Interface Token.SessionType

Enclosing class:

public static interface Token.SessionType

This interface defines constants for the type of session that should be opened upon a call to openSession. The version 2.x of PKCS#11 only allows serial sessions. Both types are defined just for the sake of completeness.

Karl Scheibelhofer

Field Summary
static boolean PARALLEL_SESSION
          Indicates a parallel session.
static boolean SERIAL_SESSION
          Indicates a serial session.

Field Detail


public static final boolean PARALLEL_SESSION
Indicates a parallel session. (No longer supported by PKCS#11!).


public static final boolean SERIAL_SESSION
Indicates a serial session. This is the only type of session currently allowed by 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