javacard.security
Class XORKey
java.lang.Object
|
+--javacard.security.XORKey
- All Implemented Interfaces:
- DESKey, Key, SecretKey
- public class XORKey
- extends java.lang.Object
- implements DESKey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEYLENGTH
public static final byte KEYLENGTH
- See Also:
- Constant Field Values
key
private byte[] key
initialized
private boolean initialized
XORKey
public XORKey()
setKey
public void setKey(byte[] keyData,
short offset)
throws CryptoException,
java.lang.NullPointerException,
java.lang.ArrayIndexOutOfBoundsException
- Specified by:
setKey
in interface DESKey
CryptoException
java.lang.NullPointerException
java.lang.ArrayIndexOutOfBoundsException
getKey
public byte getKey(byte[] keyData,
short offset)
- Specified by:
getKey
in interface DESKey
isInitialized
public boolean isInitialized()
- Specified by:
isInitialized
in interface Key
clearKey
public void clearKey()
- Specified by:
clearKey
in interface Key
getType
public byte getType()
- Specified by:
getType
in interface Key
getSize
public short getSize()
- Specified by:
getSize
in interface Key