Uses of Class java.security.KeyStoreException

Uses in package java.security

Methods which throw type java.security.KeyStoreException

Enumeration
Generates a list of all the aliases in the keystore.
boolean
Determines if the keystore contains the specified alias.
void
Deletes the entry for the specified entry.
void
Deletes the entry for the specified entry.
void
Assign the certificate to the alias in the keystore.
void
KeyStoreSpi.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
Assign the key to the alias in the keystore.
void
KeyStoreSpi.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
Assign the key to the alias in the keystore, protecting it with the given password.
Certificate
Gets a Certificate for the specified alias.
String
Determines if the keystore contains the specified certificate entry and returns the alias.
Certificate[]
Gets a Certificate chain for the specified alias.
Date
Gets entry creation date for the specified alias.
KeyStore
Returns an instance of a KeyStore representing the specified type, from the first provider that implements it.
KeyStore
KeyStore.getInstance(String type, String provider)
Returns an instance of a KeyStore representing the specified type, from the named provider.
KeyStore
Returns an instance of a KeyStore representing the specified type, from the specified provider.
Key
KeyStore.getKey(String alias, char[] password)
Returns the key associated with given alias using the supplied password.
boolean
Determines if the keystore contains a certificate entry for the specified alias.
boolean
Determines if the keystore contains a key entry for the specified alias.
void
Assign the certificate to the alias in the keystore.
void
KeyStore.setKeyEntry(String alias, byte[] key, Certificate[] chain)
Assign the key to the alias in the keystore.
void
KeyStore.setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
Assign the key to the alias in the keystore, protecting it with the given password.
int
Returns the number of entries in the keystore.
void
KeyStore.store(OutputStream stream, char[] password)
Stores the keystore in the specified output stream and it uses the specified key it keep it secure.

Uses in package java.security.cert

Constructors which throw type java.security.KeyStoreException

Create a new PKIXBuilderParameters object, populating the trusted certificates set with all X.509 certificates found in the given key store.
Create a new PKIXParameters object, populating the trusted certificates set with all certificates found in the given key store.

Uses in package javax.net.ssl

Methods which throw type java.security.KeyStoreException

void
Engine method that initializes this factory with a key store.
void
KeyManagerFactorySpi.engineInit(KeyStore store, char[] passwd)
Engine method for initializing this factory with a key store and a password for private keys.
void
Initialize this instance with a key store.
void
KeyManagerFactory.init(KeyStore store, char[] passwd)
Initialize this instance with a key store and a password for private key entries.