IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider.keyfactories
Class PKCS11SecretKeyFactory

java.lang.Object
  extended by javax.crypto.SecretKeyFactorySpi
      extended by iaik.pkcs.pkcs11.provider.keyfactories.PKCS11SecretKeyFactory
All Implemented Interfaces:
PKCS11EngineClass
Direct Known Subclasses:
SecretKeyFactory

public abstract class PKCS11SecretKeyFactory
extends javax.crypto.SecretKeyFactorySpi
implements PKCS11EngineClass

This is a base key factory that transforms symmetric key specs into PKCS#11 key objects and vice versa.

Author:
Karl Scheibelhofer

Constructor Summary
PKCS11SecretKeyFactory()
          Default constructor.
 
Method Summary
 boolean isSupportedBy(TokenManager tokenManager)
          Check, if the current token of the given token manager supports the required features for this engine class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS11SecretKeyFactory

public PKCS11SecretKeyFactory()
Default constructor.

Method Detail

isSupportedBy

public boolean isSupportedBy(TokenManager tokenManager)
Check, if the current token of the given token manager supports the required features for this engine class.

Specified by:
isSupportedBy in interface PKCS11EngineClass
Parameters:
tokenManager - The token manager. Used to get information about the current token.
Returns:
True, if this engine class can be used with the currently present token of the given token manager.
Preconditions
(tokenManager <> null)

IAIK PKCS#11 Provider API Documentation
version 1.6

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.6