Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.16
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## iaik.pkcs.pkcs11.wrapper
Class PKCS11Connector

    java.lang.Object
      iaik.pkcs.pkcs11.wrapper.PKCS11Connector

public class PKCS11Connector
extends Object

This class is a sort of factory to get a implementation of the PKCS11 interface. By now, this method simply instanciates PKCS11Implementation. For future version, it can be extended to support different implementations for different versions of PKCS#11.

Constructor Summary
`protected` | `PKCS11Connector()` Empty constructor for internal use only.

Method Summary
`static PKCS11` | `connectToPKCS11Module(String pkcs11ModulePath)` Connect to a PKCS#11 module and get an interface to it.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PKCS11Connector

    protected PKCS11Connector()

  Empty constructor for internal use only.

Preconditions
Postconditions

Method Detail

### connectToPKCS11Module

    public static PKCS11 connectToPKCS11Module(String pkcs11ModulePath)
                                        throws IOException

  Connect to a PKCS#11 module and get an interface to it.

  Parameters:
    `pkcs11ModulePath` - The path to the PKCS#11 library.
  Returns:
    The interface object to access the PKCS#11 module.
  Throws:
    `IOException` - If finding the module or connecting to it fails.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.16
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2002, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.