org.apache.geronimo.console.keystores
Class BaseKeystoreHandler.KeystoreData
java.lang.Object
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
Method Summary |
void |
changeKeyPassword(String alias,
char[] keyPassword,
char[] newKeyPassword)
|
void |
changeKeystorePassword(char[] oldPassword,
char[] newPassword)
|
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()
|
String |
getType()
|
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 |
BaseKeystoreHandler.KeystoreData
public BaseKeystoreHandler.KeystoreData()
getName
public String getName()
getType
public String getType()
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
changeKeystorePassword
public void changeKeystorePassword(char[] oldPassword,
char[] newPassword)
throws KeystoreException
- Throws:
KeystoreException
changeKeyPassword
public void changeKeyPassword(String alias,
char[] keyPassword,
char[] newKeyPassword)
throws KeystoreException
- Throws:
KeystoreException
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.