javacard.security
Class XORPrivateKey

java.lang.Object
  |
  +--javacard.security.XORPrivateKey
All Implemented Interfaces:
Key

public class XORPrivateKey
extends java.lang.Object
implements Key


Field Summary
private  byte[] key
           
 
Constructor Summary
XORPrivateKey(byte[] privateKey, short offset, short length)
           
 
Method Summary
 void clearKey()
           
 byte[] getEncoded()
           
 void getEncoded(byte[] output, short offset)
           
 short getSize()
           
 byte getType()
           
 boolean isInitialized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private byte[] key
Constructor Detail

XORPrivateKey

public XORPrivateKey(byte[] privateKey,
                     short offset,
                     short length)
Method Detail

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

getEncoded

public byte[] getEncoded()

getEncoded

public void getEncoded(byte[] output,
                       short offset)