Package org.alfresco.encryption
Class AlfrescoKeyStoreImpl.KeyInfoManager
- java.lang.Object
-
- org.alfresco.encryption.AlfrescoKeyStoreImpl.KeyInfoManager
-
- Enclosing class:
- AlfrescoKeyStoreImpl
public static class AlfrescoKeyStoreImpl.KeyInfoManager extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
clearKeyStorePassword()
Map<String,AlfrescoKeyStoreImpl.KeyInformation>
getKeyInfo()
AlfrescoKeyStoreImpl.KeyInformation
getKeyInformation(String keyAlias)
String
getKeyStorePassword()
protected AlfrescoKeyStoreImpl.KeyInformation
loadKeyInformation(String keyAlias)
protected void
loadKeyMetaData()
Set the map of key meta data (including passwords to access the keystore).void
removeKeyInformation(String keyAlias)
-
-
-
Method Detail
-
getKeyInfo
public Map<String,AlfrescoKeyStoreImpl.KeyInformation> getKeyInfo()
-
loadKeyMetaData
protected void loadKeyMetaData() throws IOException, 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 forAlfrescoKeyStore.KEY_KEYSTORE_PASSWORD
is required if the keystore is password protected.- Throws:
IOException
FileNotFoundException
-
clear
public void clear()
-
removeKeyInformation
public void removeKeyInformation(String keyAlias)
-
loadKeyInformation
protected AlfrescoKeyStoreImpl.KeyInformation loadKeyInformation(String keyAlias)
-
getKeyStorePassword
public String getKeyStorePassword()
-
clearKeyStorePassword
public void clearKeyStorePassword()
-
getKeyInformation
public AlfrescoKeyStoreImpl.KeyInformation getKeyInformation(String keyAlias)
-
-