

- #Java service wrapper license key at conf file for free#
- #Java service wrapper license key at conf file mac os#
- #Java service wrapper license key at conf file code#
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.Ģ. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:ġ. The complete license text is as follows.Ĭopyright (c) 2002 Graz University of Technology.
#Java service wrapper license key at conf file for free#
In short, this means that you can use the IAIK PKCS#11 Wrapper for free for noncommercial and commercial developments provided you meet the conditions of the license text. We provide IAIK PKCS#11 Wrapper under an Apache-style license.

#Java service wrapper license key at conf file mac os#
Includes:įull source of all components under an Apache-style license as well as precompiled binaries for Windows, Linux, Solaris 8/9/10 and Mac OS X. In compiled form, this module is a native DLL or shared library. PKCS#11 and JNI are not compatible as they are, and this is the reason why this layer is necessary at all. This layer is necessary, because the JNI requires the native functions to have a special signature that is defined by JNI itself. This module of the system does not include any additional logic, it only provides a straightforward mapping from the API for PKCS#11 for the Java™ platform to the PKCS#11 Module of the Smart Card. This native module of the wrapper is responsible for translation of the Java™ data structures, which the API for PKCS#11 for the Java™ platform part defines, to native PKCS#11 data structures and vice versa. Have a look at the 11 package in the demo directory for sample programs. The Module class in the object-oriented layer provides the respective functionality. The returned object gives access to the PKCS#11 module of the smart card it is the Java™-Counterpart to the CK_C_GetFunctionList returned by the C_GetFunctionList function in PKCS#11. The PKCS11Connector instantiates an object that implements this PKCS11 interface. All names of classes, data structures and methods are the same as the corresponding PKCS#11 counterpart. The interface PKCS11 in the package is the interface to a PKCS#11 module and provides access to the functions defined by PKCS#11. All adoptions to the PKCS#11 API, including wrapping into an object oriented approach, appear in the Object Oriented Wrapper API for PKCS#11 for the Java™ platform. Notice, that this is not an object oriented approach at this level it is just a straightforward mapping of the data structures to Java™. For each structure in the pkcs11t.h header file of PKCS#11, there is a corresponding class in the package. It is a straightforward realization of the data structures as defined in PKCS#11. The non-Object Oriented Wrapper API for PKCS#11 for the Java™ platform is a set of Java™ classes and interfaces that reflects the PKCS#11 API. The API for PKCS#11 for the Java™ platform This layer solely builds upon the API for the Java™ platform for PKCS#11 as implemented by the Wrapper for PKCS#11 for the Java™ platform. The package provides classes for objects that act as parameters for mechanisms which require specific arguments. The package is a model of the object hierarchy presented in this PKCS#11 standard. It provides a straight forward mapping of the PKCS#11 v2.20 standard to a set of classes and interfaces. This object-oriented API for the Java™ platform resides in the packages 11, and. The Object-Oriented API for PKCS#11 for the Java™ platform The only classes from 11 you need are the exception classes. This can be useful to create smaller applications, because you do not need most of the classes of the package 11 and no class from and. This means you can use the Wrapper for PKCS#11 for the Java™ platform directly and build your application upon it without using the OO layer.

As the arrows show, the uppermost layer depends on the Wrapper for PKCS#11 for the Java™ platform, but not vice versa. This is normally a DLL or shared library. The lowest layer, the PKCS#11 Module of the Smart Card, is the PKCS#11 module that the smart card manufacturer supplies. The following paragraphs describe these parts. This library consists of the Object Oriented (OO) Wrapper API for PKCS#11 for the Java™ platform, the (non-Object Oriented) Wrapper API for PKCS#11 for the Java™ platform and the Native Module of the Wrapper, the green layers in the figure. Figure 1 shows the layer model of this library.
