org.alfresco.encryption
Class AlfrescoKeyStoreImpl.KeyInfoManager
java.lang.Object
org.alfresco.encryption.AlfrescoKeyStoreImpl.KeyInfoManager
- Enclosing class:
- AlfrescoKeyStoreImpl
public static class AlfrescoKeyStoreImpl.KeyInfoManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.