org.apache.accumulo.core.security.crypto
Class DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext

java.lang.Object
  extended by org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext
All Implemented Interfaces:
SecretKeyEncryptionStrategyContext
Enclosing class:
DefaultSecretKeyEncryptionStrategy

public static class DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext
extends Object
implements SecretKeyEncryptionStrategyContext


Constructor Summary
DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext()
           
 
Method Summary
 Map<String,String> getContext()
           
 byte[] getEncryptedSecretKey()
           
 String getOpaqueKeyEncryptionKeyID()
           
 byte[] getPlaintextSecretKey()
           
 void setContext(Map<String,String> context)
           
 void setEncryptedSecretKey(byte[] key)
           
 void setOpaqueKeyEncryptionKeyID(String id)
           
 void setPlaintextSecretKey(byte[] key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext

public DefaultSecretKeyEncryptionStrategy.DefaultSecretKeyEncryptionStrategyContext()
Method Detail

getOpaqueKeyEncryptionKeyID

public String getOpaqueKeyEncryptionKeyID()
Specified by:
getOpaqueKeyEncryptionKeyID in interface SecretKeyEncryptionStrategyContext

setOpaqueKeyEncryptionKeyID

public void setOpaqueKeyEncryptionKeyID(String id)
Specified by:
setOpaqueKeyEncryptionKeyID in interface SecretKeyEncryptionStrategyContext

getPlaintextSecretKey

public byte[] getPlaintextSecretKey()
Specified by:
getPlaintextSecretKey in interface SecretKeyEncryptionStrategyContext

setPlaintextSecretKey

public void setPlaintextSecretKey(byte[] key)
Specified by:
setPlaintextSecretKey in interface SecretKeyEncryptionStrategyContext

getEncryptedSecretKey

public byte[] getEncryptedSecretKey()
Specified by:
getEncryptedSecretKey in interface SecretKeyEncryptionStrategyContext

setEncryptedSecretKey

public void setEncryptedSecretKey(byte[] key)
Specified by:
setEncryptedSecretKey in interface SecretKeyEncryptionStrategyContext

getContext

public Map<String,String> getContext()
Specified by:
getContext in interface SecretKeyEncryptionStrategyContext

setContext

public void setContext(Map<String,String> context)
Specified by:
setContext in interface SecretKeyEncryptionStrategyContext


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.