|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.crypto.keymanager.CryptoCacheKeyEntry
public class CryptoCacheKeyEntry
CryptoCache
-entry wrapping a secret key used for symmetric en-/decryption of actual data.
Constructor Summary | |
---|---|
protected |
CryptoCacheKeyEntry(long keyID,
byte[] keyData)
Create a new instance. |
Method Summary | |
---|---|
protected void |
finalize()
|
byte[] |
getKeyData()
Get the actual raw key data. |
long |
getKeyID()
Get the identifier of the key being cached. |
Date |
getLastUsageTimestamp()
Get the timestamp when the key was used the last time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CryptoCacheKeyEntry(long keyID, byte[] keyData)
keyID
- identifier of the key to be cached; must be >= 0.keyData
- actual key data (raw). Warning: This byte array will be overwritten with 0 by the finalize()
method!Method Detail |
---|
public long getKeyID()
public byte[] getKeyData()
public Date getLastUsageTimestamp()
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |