opencard.opt.security
Interface KeyRef
- All Superinterfaces:
- java.security.Key, java.io.Serializable
- All Known Subinterfaces:
- PrivateKeyRef, PublicKeyRef, SecretKeyRef
- All Known Implementing Classes:
- KeyFile, PrivateKeyFile, PublicKeyFile, SecretKeyFile
public interface KeyRef
- extends java.security.Key
Interface for classes that reference a key stored on a smart card.
Different cards use different ways of identifying a key on the card,
for example file names, indexes, numbers, logical names.
Wherever a card service interface needs to identify a generic key on
card, the interface should use type KeyRef or one of it's
derived types.
Concrete card service implementations should then support a subset of the
derived classes of KeyRef, for example PrivateKeyFile
for cards that store their keys in ISO files.
- Version:
- $Id: KeyRef.java,v 1.1 1999/11/10 13:55:45 damke Exp $
- Author:
- Peter Bendel (peter_bendel@de.ibm.com), Roland Weber (rolweber@de.ibm.com)
- See Also:
PrivateKeyRef
,
PublicKeyRef
,
SecretKeyRef
,
PrivateKeyFile
Fields inherited from interface java.security.Key |
serialVersionUID |
Methods inherited from interface java.security.Key |
getAlgorithm, getEncoded, getFormat |