Package net.i2p.crypto
Class CryptixAESKeyCache
java.lang.Object
net.i2p.crypto.CryptixAESKeyCache
Cache the objects used in CryptixRijndael_Algorithm.makeKey to reduce
memory churn. The KeyCacheEntry should be held onto as long as the
data referenced in it is needed (which often is only one or two lines
of code)
Not for external use, not a public API.
Unused as a class, as the keys are cached in the SessionKey objects,
but the static methods are used in FortunaStandalone.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
all the data alloc'ed in a makeKey call -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.unused, keys are now cached in the SessionKey objectsstatic final CryptixAESKeyCache.KeyCacheEntry
final void
Deprecated.unused, keys are now cached in the SessionKey objects
-
Constructor Details
-
CryptixAESKeyCache
Deprecated.
-
-
Method Details
-
acquireKey
Deprecated.unused, keys are now cached in the SessionKey objectsGet the next available structure, either from the cache or a brand new one -
releaseKey
Deprecated.unused, keys are now cached in the SessionKey objectsPut this structure back onto the available cache for reuse -
createNew
-