public class SecretMemory extends Object
For this strategy to be successful, its very important for clients to zero out secrets that are no longer used.
The memory itself is based on anonymous handles - this way no client can enumerate or guess content of this memory - as long as the owner keeps its handle private.
| Constructor and Description |
|---|
SecretMemory() |
SecretMemory(ICryptdec cryptdec) |
public SecretMemory()
public SecretMemory(ICryptdec cryptdec)
public void clear()
public byte[] getBytes(Object key) throws IOException
IOExceptionpublic char[] getCharacters(Object key) throws IOException
IOExceptionpublic Object put(byte[] secret) throws IOException
IOExceptionpublic Object put(char[] secret) throws IOException
IOExceptionpublic void remove(Object key)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.