|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use KeystoreException | |
|---|---|
| org.apache.geronimo.management.geronimo | |
| Uses of KeystoreException in org.apache.geronimo.management.geronimo |
|---|
| Subclasses of KeystoreException in org.apache.geronimo.management.geronimo | |
|---|---|
class |
KeyIsLocked
Exception indicating that the private key you tried to do something with is locked. |
class |
KeyNotFoundException
Exception indicating that the private key you tried to retrieve does not exist. |
class |
KeystoreIsLocked
Exception indicating that the keystore you tried to do something with is locked. |
| Methods in org.apache.geronimo.management.geronimo that throw KeystoreException | |
|---|---|
KeystoreInstance |
KeystoreManager.createKeystore(String name,
char[] password)
Creates a new, empty keystore. |
SSLSocketFactory |
KeystoreManager.createSSLFactory(String provider,
String protocol,
String algorithm,
String trustStore,
ClassLoader loader)
Gets a SocketFactory using one Keystore to access the private key and another to provide the list of trusted certificate authorities. |
SSLSocketFactory |
KeystoreManager.createSSLFactory(String provider,
String protocol,
String algorithm,
String keyStore,
String keyAlias,
String trustStore,
ClassLoader loader)
Gets a SocketFactory using one Keystore to access the private key and another to provide the list of trusted certificate authorities. |
SSLServerSocketFactory |
KeystoreManager.createSSLServerFactory(String provider,
String protocol,
String algorithm,
String keyStore,
String keyAlias,
String trustStore,
ClassLoader loader)
Gets a ServerSocketFactory using one Keystore to access the private key and another to provide the list of trusted certificate authorities. |
void |
KeystoreInstance.deleteEntry(String alias,
char[] storePassword)
Deletes a key from this Keystore. |
String |
KeystoreInstance.generateCSR(String alias,
char[] storePassword)
|
void |
KeystoreInstance.generateKeyPair(String alias,
char[] storePassword,
char[] keyPassword,
String keyAlgorithm,
int keySize,
String signatureAlgorithm,
int validity,
String commonName,
String orgUnit,
String organization,
String locality,
String state,
String country)
Generates a new private key and certificate pair in this keystore. |
Certificate |
KeystoreInstance.getCertificate(String alias,
char[] storePassword)
Gets a particular certificate from the keystore. |
String |
KeystoreInstance.getCertificateAlias(Certificate cert,
char[] storePassword)
Gets the alias corresponding to the given certificate. |
Certificate[] |
KeystoreInstance.getCertificateChain(String alias,
char[] storePassword)
Gets a particular certificate chain from the keystore. |
KeyManager[] |
KeystoreInstance.getKeyManager(String algorithm,
String alias,
char[] storePassword)
Gets a KeyManager for a key in this Keystore. |
PrivateKey |
KeystoreInstance.getPrivateKey(String alias,
char[] storePassword,
char[] keyPassword)
Gets the private key with the specified alias. |
TrustManager[] |
KeystoreInstance.getTrustManager(String algorithm,
char[] storePassword)
Gets a TrustManager for this keystore. |
String[] |
KeystoreInstance.getUnlockedKeys(char[] storePassword)
Gets the aliases for all the private keys that are currently unlocked. |
void |
KeystoreInstance.importPKCS7Certificate(String alias,
String certbuf,
char[] storePassword)
|
void |
KeystoreInstance.importTrustCertificate(Certificate cert,
String alias,
char[] storePassword)
Adds a certificate to this keystore as a trusted certificate. |
boolean |
KeystoreInstance.isTrustStore(char[] storePassword)
Checks whether this keystore can be used as a trust store (e.g. has at least one trust certificate). |
String[] |
KeystoreInstance.listPrivateKeys(char[] storePassword)
Gets the aliases of all private key entries in the keystore |
String[] |
KeystoreInstance.listTrustCertificates(char[] storePassword)
Gets the aliases of all trusted certificate entries in the keystore. |
void |
KeystoreInstance.lockKeystore(char[] password)
Clears any saved password, meaning this keystore cannot be used by other server components. |
void |
KeystoreInstance.lockPrivateKey(String alias,
char[] storePassword)
Clears any saved password for the specified private key, meaning this key cannot be used for a socket factory by other server components. |
void |
KeystoreInstance.unlockKeystore(char[] password)
Saves a password to access the keystore as a whole. |
void |
KeystoreInstance.unlockPrivateKey(String alias,
char[] storePassword,
char[] keyPassword)
Saves a password to access a private key. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||