|
Cumulus4j API (1.2.0-SNAPSHOT) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.crypto.keymanager.CryptoCacheKeyDecrypterEntry
public class CryptoCacheKeyDecrypterEntry
CryptoCache
-entry wrapping a Cipher
used for secret-key-decryption.
Constructor Summary | |
---|---|
protected |
CryptoCacheKeyDecrypterEntry(CryptoCacheKeyEncryptionKeyEntry keyEncryptionKey,
String keyEncryptionTransformation,
Cipher keyDecryptor)
Create a new instance. |
Method Summary | |
---|---|
Cipher |
getKeyDecryptor()
Get the cipher. |
CryptoCacheKeyEncryptionKeyEntry |
getKeyEncryptionKey()
|
String |
getKeyEncryptionTransformation()
Get the (public-private-key-pair-)transformation used to encrypt the secret keys used for symmetric en-/decryption of the actual data. |
Date |
getLastUsageTimestamp()
Get the timestamp when the cipher was used the last time. |
void |
updateLastUsageTimestamp()
Update the lastUsageTimestamp (set it to NOW). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CryptoCacheKeyDecrypterEntry(CryptoCacheKeyEncryptionKeyEntry keyEncryptionKey, String keyEncryptionTransformation, Cipher keyDecryptor)
keyEncryptionKey
- corresponding key-pair-entry.keyEncryptionTransformation
- the (public-private-key-pair-)transformation used to encrypt the secret keys used for symmetric encryption/decryption of the actual data.keyDecryptor
- the cipher.Method Detail |
---|
public CryptoCacheKeyEncryptionKeyEntry getKeyEncryptionKey()
public String getKeyEncryptionTransformation()
public Cipher getKeyDecryptor()
public Date getLastUsageTimestamp()
public void updateLastUsageTimestamp()
lastUsageTimestamp
(set it to NOW).
|
Cumulus4j API (1.2.0-SNAPSHOT) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |