OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

com.ibm.opencard.signature
Interface MFCKeyGenImpl

All Known Implementing Classes:
MFC421KeyGenImpl

public abstract interface MFCKeyGenImpl

The interface to a key generation card service implementation. The implementation of such a service is responsible for creating command APDUs and evaluating the smartcard's response APDUs.

Version:
$Id: MFCKeyGenImpl.java,v 1.1 1999/12/02 16:06:09 damke Exp $

Method Summary
 void generateKeyPair(MFCCardChannel channel, MFCKeyInfo privateki)
          Send the command APDU for generate key pair
 

Method Detail

generateKeyPair

public void generateKeyPair(MFCCardChannel channel,
                            MFCKeyInfo privateki)
                     throws CardServiceException,
                            CardTerminalException
Send the command APDU for generate key pair
Parameters:
channel - com.ibm.opencard.service.MFCCardChannel
privateki - key file info of private key
Throws:
CardServiceException - any subclass of CardServiceException
CardTerminalException - any subclass of CardTerminalException