opencard.opt.security
Interface KeyRef

All Known Subinterfaces:
PrivateKeyRef, PublicKeyRef, SecretKeyRef
All Known Implementing Classes:
KeyFile

public abstract 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.

See Also:
PrivateKeyRef, PublicKeyRef, SecretKeyRef, PrivateKeyFile

Fields inherited from class java.security.Key
serialVersionUID
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat