|
JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxta.security.impl.cipher.SecretKey
Constructor Summary | |
SecretKey(byte type,
short len)
Constructor |
Method Summary | |
void |
clearKey()
Clear key values |
byte |
getKey(byte[] buf,
int off)
Here we copy the secret key into the buffer |
int |
getLength()
Length in bytes - Keys SHOULD be multiples of 8 |
short |
getSize()
Return Size in bits |
byte |
getType()
Return key type code |
boolean |
isInitialized()
Initialization state |
void |
setKey(byte[] buf,
int off)
Set the key into secret |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SecretKey(byte type, short len)
Method Detail |
public boolean isInitialized()
public void clearKey()
public short getSize()
public int getLength()
public byte getType()
public byte getKey(byte[] buf, int off)
public void setKey(byte[] buf, int off) throws jxta.security.exceptions.CryptoException
|
JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |