org.openpermis.editor.policy.view.keystore
Class P12KeyStoreReader

java.lang.Object
  extended by org.openpermis.editor.policy.view.keystore.KeyStoreReader
      extended by org.openpermis.editor.policy.view.keystore.P12KeyStoreReader

public class P12KeyStoreReader
extends KeyStoreReader

Reader for key store entries from a p12 file.

Since:
0.3.0

Field Summary
 
Fields inherited from class org.openpermis.editor.policy.view.keystore.KeyStoreReader
PASSWORD_FIELD_COLUMNS
 
Constructor Summary
P12KeyStoreReader(ApplicationContext context)
          Creates a lazily initialized P12KeyStoreReader that reads key store entries.
 
Method Summary
protected  void createKeystore()
           
 Enumeration<String> getAliases()
          Returns the keystore aliases.
 
Methods inherited from class org.openpermis.editor.policy.view.keystore.KeyStoreReader
getCertificate, getContext, getKeyStore, getParent, getPrivateKey, getPrivateKey, resetKeystore, setKeyStore, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P12KeyStoreReader

public P12KeyStoreReader(ApplicationContext context)
Creates a lazily initialized P12KeyStoreReader that reads key store entries.

Parameters:
context - the ApplicationContext.
Since:
0.9.0
Method Detail

getAliases

public Enumeration<String> getAliases()
                               throws KeyStoreReaderException,
                                      KeyStoreException
Description copied from class: KeyStoreReader
Returns the keystore aliases.

Specified by:
getAliases in class KeyStoreReader
Returns:
the aliases.
Throws:
KeyStoreException - if there is a problem creating the Keystore.
KeyStoreReaderException - if there is a problem opening the Keystore.
Since:
0.9.0

createKeystore

protected void createKeystore()
                       throws KeyStoreReaderException
Specified by:
createKeystore in class KeyStoreReader
Throws:
KeyStoreReaderException
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG