|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.generators.Argon2BytesGenerator.FixedBlockPool
Bounded pool that recycles up to Block objects.
Excess blocks returned via #deallocate(Block) are dropped and
left for the garbage collector. Returned blocks are zeroised both on
deallocation and again on allocation, so a recycled block is never
observed with stale data.
| Constructor Summary | |
Argon2BytesGenerator.FixedBlockPool(int maxBlocks)
|
|
| Method Summary | |
Argon2BytesGenerator.Block |
allocate()
|
void |
deallocate(Argon2BytesGenerator.Block block)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Argon2BytesGenerator.FixedBlockPool(int maxBlocks)
| Method Detail |
public Argon2BytesGenerator.Block allocate()
allocate in interface Argon2BytesGenerator.BlockPoolpublic void deallocate(Argon2BytesGenerator.Block block)
deallocate in interface Argon2BytesGenerator.BlockPool
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||