Package opencard.opt.security
Interface KeyRef
-
- All Superinterfaces:
java.security.Key
,java.io.Serializable
- All Known Subinterfaces:
PrivateKeyRef
,PublicKeyRef
,SecretKeyRef
- All Known Implementing Classes:
SmartCardHSMECKey
,SmartCardHSMKey
,SmartCardHSMPrivateKey
,SmartCardHSMRSAKey
,SmartCardHSMSecretKey
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.- Author:
- Peter Bendel (peter_bendel@de.ibm.com), Roland Weber (rolweber@de.ibm.com)
- See Also:
PrivateKeyRef
,PublicKeyRef
,SecretKeyRef
,PrivateKeyFile