TrueZIP Samples 7.1

de.schlichtherle.truezip.sample.zip.raes
Class KeyManagement.SimpleKeyProvider

java.lang.Object
  extended by de.schlichtherle.truezip.key.SafeKeyProvider<AesCipherParameters>
      extended by de.schlichtherle.truezip.sample.zip.raes.KeyManagement.SimpleKeyProvider
All Implemented Interfaces:
KeyProvider<AesCipherParameters>
Enclosing class:
KeyManagement

private static final class KeyManagement.SimpleKeyProvider
extends SafeKeyProvider<AesCipherParameters>


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.key.KeyProvider
KeyProvider.Factory<P extends KeyProvider<?>>
 
Field Summary
private  AesCipherParameters key
           
 
Fields inherited from class de.schlichtherle.truezip.key.SafeKeyProvider
MIN_KEY_RETRY_DELAY
 
Constructor Summary
KeyManagement.SimpleKeyProvider(char[] password)
           
 
Method Summary
protected  AesCipherParameters getReadKeyImpl(boolean invalid)
           
protected  AesCipherParameters getWriteKeyImpl()
           
 void setKey(AesCipherParameters key)
           
 
Methods inherited from class de.schlichtherle.truezip.key.SafeKeyProvider
clone, getReadKey, getWriteKey, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private AesCipherParameters key
Constructor Detail

KeyManagement.SimpleKeyProvider

KeyManagement.SimpleKeyProvider(char[] password)
Method Detail

getWriteKeyImpl

protected AesCipherParameters getWriteKeyImpl()
Specified by:
getWriteKeyImpl in class SafeKeyProvider<AesCipherParameters>

getReadKeyImpl

protected AesCipherParameters getReadKeyImpl(boolean invalid)
Specified by:
getReadKeyImpl in class SafeKeyProvider<AesCipherParameters>

setKey

public void setKey(AesCipherParameters key)

TrueZIP Samples 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.