opencard.opt.security
Class PublicKeyFile

java.lang.Object
  extended by opencard.opt.security.KeyFile
      extended by opencard.opt.security.PublicKeyFile
All Implemented Interfaces:
java.io.Serializable, java.security.Key, java.security.PublicKey, KeyRef, PublicKeyRef

public class PublicKeyFile
extends KeyFile
implements PublicKeyRef

Reference to a public key stored on a smart card in an ISO file. Identifies the key file by specifying the directory the key is contained in as well as a key number.

Version:
$Id: PublicKeyFile.java,v 1.2 1999/11/10 13:55:46 damke Exp $
Author:
Peter Bendel (peter_bendel@de.ibm.com), Roland Weber (rolweber@de.ibm.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Constructor Summary
PublicKeyFile(CardFilePath directory, int keyNr)
          Constructor from directory path and key number.
 
Method Summary
 
Methods inherited from class opencard.opt.security.KeyFile
getAlgorithm, getDirectory, getEncoded, getFormat, getKeyNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Constructor Detail

PublicKeyFile

public PublicKeyFile(CardFilePath directory,
                     int keyNr)
Constructor from directory path and key number.

Parameters:
directory - opencard.opt.iso.fs.CardFilePath
keyNr - int