IAIK PKCS#11 Provider API Documentation
version 1.6

Class DhKeyFactory

  extended by java.security.KeyFactorySpi
      extended by iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
          extended by iaik.pkcs.pkcs11.provider.keyfactories.DhKeyFactory
All Implemented Interfaces:

public class DhKeyFactory
extends PKCS11KeyFactory

This is a DH (Diffie-Hellman) key factory that transforms DH key specs into PKCS#11 key objects and vice versa. To create PKCS#11 private or public keys, the application cannot pass the actual key specs directly to the factory. It must wrap them into a PKCS11KeySpec, which tells the factory on which token to generate the key. For private keys this key factory supports DSAPrivateKeySpec and PKCS8EncodedKeySpec. For public keys it supports DSAPublicKeySpec and X509EncodedKeySpec.

Karl Scheibelhofer

Field Summary
Fields inherited from class iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
Constructor Summary
          Default constructor.
Method Summary
Methods inherited from class iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DhKeyFactory()
Default constructor.

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