org.alfresco.encryption
Class KeyMap

java.lang.Object
  extended by org.alfresco.encryption.KeyMap

public class KeyMap
extends java.lang.Object

A simple map of key aliases to keys. Each key has an associated timestamp indicating when it was last loaded from the keystore on disk.

Since:
4.0

Constructor Summary
KeyMap()
           
KeyMap(java.util.Map keys)
           
 
Method Summary
 CachedKey getCachedKey(java.lang.String keyAlias)
           
 java.security.Key getKey(java.lang.String keyAlias)
           
 java.util.Set getKeyAliases()
           
 int numKeys()
           
 void setKey(java.lang.String keyAlias, java.security.Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyMap

public KeyMap()

KeyMap

public KeyMap(java.util.Map keys)
Method Detail

numKeys

public int numKeys()

getKeyAliases

public java.util.Set getKeyAliases()

getCachedKey

public CachedKey getCachedKey(java.lang.String keyAlias)

getKey

public java.security.Key getKey(java.lang.String keyAlias)

setKey

public void setKey(java.lang.String keyAlias,
                   java.security.Key key)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.