org.alfresco.encryption
Class AlfrescoKeyStoreImpl.KeyInfoManager

java.lang.Object
  extended by org.alfresco.encryption.AlfrescoKeyStoreImpl.KeyInfoManager
Enclosing class:
AlfrescoKeyStoreImpl

public static class AlfrescoKeyStoreImpl.KeyInfoManager
extends java.lang.Object


Method Summary
 void clear()
           
 void clearKeyStorePassword()
           
 java.util.Map getKeyInfo()
           
 AlfrescoKeyStoreImpl.KeyInformation getKeyInformation(java.lang.String keyAlias)
           
 java.lang.String getKeyStorePassword()
           
protected  AlfrescoKeyStoreImpl.KeyInformation loadKeyInformation(java.lang.String keyAlias)
           
protected  void loadKeyMetaData()
          Set the map of key meta data (including passwords to access the keystore).
 void removeKeyInformation(java.lang.String keyAlias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKeyInfo

public java.util.Map getKeyInfo()

loadKeyMetaData

protected void loadKeyMetaData()
                        throws java.io.IOException,
                               java.io.FileNotFoundException
Set the map of key meta data (including passwords to access the keystore).

Where required, null values must be inserted into the map to indicate the presence of a key that is not protected by a password. They entry for AlfrescoKeyStore.KEY_KEYSTORE_PASSWORD is required if the keystore is password protected.

Throws:
java.io.IOException
java.io.FileNotFoundException

clear

public void clear()

removeKeyInformation

public void removeKeyInformation(java.lang.String keyAlias)

loadKeyInformation

protected AlfrescoKeyStoreImpl.KeyInformation loadKeyInformation(java.lang.String keyAlias)

getKeyStorePassword

public java.lang.String getKeyStorePassword()

clearKeyStorePassword

public void clearKeyStorePassword()

getKeyInformation

public AlfrescoKeyStoreImpl.KeyInformation getKeyInformation(java.lang.String keyAlias)


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