| java.lang.Object | ||
| java.security.KeyStore | ||
| KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type) |
| final | Enumeration | aliases() | |||
| final | boolean | containsAlias(String alias) | |||
| 1.4.2 and 1.5 releases throw unspecified NullPointerException when alias is null | |||||
| final | void | deleteEntry(String alias) | |||
| 1.4.2 and 1.5 releases throw NullPointerException when alias is null | |||||
| final | boolean | entryInstanceOf(String alias, Class entryClass) | |||
| final | Certificate | getCertificate(String alias) | |||
| final | String | getCertificateAlias(Certificate cert) | |||
| final | Certificate[] | getCertificateChain(String alias) | |||
| final | Date | getCreationDate(String alias) | |||
| final | static | String | getDefaultType() | ||
| final | Entry | getEntry(String alias, ProtectionParameter param) | |||
| static | KeyStore | getInstance(String type, String provider) | |||
| static | KeyStore | getInstance(String type) | |||
| static | KeyStore | getInstance(String type, Provider provider) | |||
| throws NullPointerException if type is null (instead of NoSuchAlgorithmException) as in 1.4 release | |||||
| final | Key | getKey(String alias, char[] password) | |||
| final | Provider | getProvider() | |||
| final | String | getType() | |||
| final | boolean | isCertificateEntry(String alias) | |||
| jdk1.4.2 and 1.5 releases throw unspecified NullPointerException when alias is null | |||||
| final | boolean | isKeyEntry(String alias) | |||
| jdk1.4.2 and 1.5 releases throw unspecified NullPointerException when alias is null | |||||
| final | void | load(InputStream stream, char[] password) | |||
| final | void | load(LoadStoreParameter param) | |||
| final | void | setCertificateEntry(String alias, Certificate cert) | |||
| 1.4.2 and 1.5 releases throw unspecified NullPointerException when alias is null | |||||
| final | void | setEntry(String alias, Entry entry, ProtectionParameter param) | |||
| 1.5 release throws unspecified NullPointerException when alias or entry is null | |||||
| final | void | setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) | |||
| 1.4.2 and 1.5 releases throw unspecified NullPointerException - when alias is null IllegalArgumentException - when password is null IllegalArgumentException - when key is instance of PrivateKey and chain is null or empty | |||||
| final | void | setKeyEntry(String alias, byte[] key, Certificate[] chain) | |||
| final | int | size() | |||
| final | void | store(LoadStoreParameter param) | |||
| final | void | store(OutputStream stream, char[] password) | |||
| throws IOException when stream or password is null | |||||
Methods inherited
from class
java.lang.Object
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| NullPointerException | if type is null (instead of NoSuchAlgorithmException) as in 1.4 release |
|---|---|
| KeyStoreException | |
| NoSuchProviderException |
| NullPointerException | if type is null |
|---|---|
| KeyStoreException |
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|
| KeyStoreException |
|---|