org.apache.geronimo.console.keystores
Class BaseKeystoreHandler.KeystoreData

java.lang.Object
  extended by org.apache.geronimo.console.keystores.BaseKeystoreHandler.KeystoreData
All Implemented Interfaces:
Serializable
Enclosing class:
BaseKeystoreHandler

public static final class BaseKeystoreHandler.KeystoreData
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
BaseKeystoreHandler.KeystoreData()
           
 
Method Summary
 void createKeyPair(String alias, String keyPassword, String keyAlgorithm, int keySize, String signatureAlgorithm, int validity, String commonName, String orgUnit, String organization, String locality, String state, String country)
           
 void deleteEntry(String alias)
           
 String generateCSR(String alias)
           
 Certificate getCertificate(String alias)
           
 String[] getCertificates()
           
 Map getFingerprints()
           
 KeystoreInstance getInstance()
           
 String[] getKeys()
           
 String getName()
           
 void importPKCS7Certificate(String alias, String pkcs7cert)
           
 void importTrustCert(String fileName, String alias)
           
 boolean isLockedEdit()
           
 boolean isLockedUse()
           
 void lockEdit()
           
 void lockUse()
           
 void setInstance(KeystoreInstance instance)
           
 void unlockEdit(char[] password)
           
 void unlockPrivateKey(String alias, char[] keyPassword)
           
 void unlockUse(char[] password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseKeystoreHandler.KeystoreData

public BaseKeystoreHandler.KeystoreData()
Method Detail

getName

public String getName()

getInstance

public KeystoreInstance getInstance()

setInstance

public void setInstance(KeystoreInstance instance)

isLockedEdit

public boolean isLockedEdit()

isLockedUse

public boolean isLockedUse()

getCertificates

public String[] getCertificates()

getKeys

public String[] getKeys()

getFingerprints

public Map getFingerprints()
                    throws KeystoreException
Throws:
KeystoreException

importTrustCert

public void importTrustCert(String fileName,
                            String alias)
                     throws KeystoreException
Throws:
KeystoreException

createKeyPair

public void createKeyPair(String alias,
                          String keyPassword,
                          String keyAlgorithm,
                          int keySize,
                          String signatureAlgorithm,
                          int validity,
                          String commonName,
                          String orgUnit,
                          String organization,
                          String locality,
                          String state,
                          String country)
                   throws KeystoreException
Throws:
KeystoreException

getCertificate

public Certificate getCertificate(String alias)
                           throws KeystoreException
Throws:
KeystoreException

unlockPrivateKey

public void unlockPrivateKey(String alias,
                             char[] keyPassword)
                      throws KeystoreException
Throws:
KeystoreException

deleteEntry

public void deleteEntry(String alias)
                 throws KeystoreException
Throws:
KeystoreException

importPKCS7Certificate

public void importPKCS7Certificate(String alias,
                                   String pkcs7cert)
                            throws KeystoreException
Throws:
KeystoreException

generateCSR

public String generateCSR(String alias)
                   throws KeystoreException
Throws:
KeystoreException

unlockEdit

public void unlockEdit(char[] password)
                throws KeystoreException
Throws:
KeystoreException

lockEdit

public void lockEdit()

lockUse

public void lockUse()
             throws KeystoreException
Throws:
KeystoreException

unlockUse

public void unlockUse(char[] password)
               throws KeystoreException
Throws:
KeystoreException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.