IAIK PKCS#11 Provider API Documentation
version 1.6

Class DhKeyPairGenerator

  extended by java.security.KeyPairGeneratorSpi
      extended by iaik.pkcs.pkcs11.provider.keypairgenerators.PKCS11KeyPairGenerator
          extended by iaik.pkcs.pkcs11.provider.keypairgenerators.DhKeyPairGenerator
All Implemented Interfaces:

public class DhKeyPairGenerator
extends PKCS11KeyPairGenerator

An engine class for generating Diffie Hellman key-pairs on a token. The application must call initialize(AlgorithmParameterSpec, SecureRandom) before calling generateKeyPair(). Uses Diffie Hellman as specified in PKCS#3.

This implementation only supports 512, 768, 1024 and 2048 bit as key size. The default key size is 1024 bit.

Karl Scheibelhofer

Constructor Summary
          Construct new generator.
Method Summary
Methods inherited from class iaik.pkcs.pkcs11.provider.keypairgenerators.PKCS11KeyPairGenerator
generateKeyPair, initialize, initialize, isSupportedBy
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DhKeyPairGenerator()
Construct new generator.

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