| java.lang.Object java.security.KeyStore
KeyStore | public class KeyStore (Code) | | |
Inner Class :abstract public static class Builder | |
Inner Class :public static class CallbackHandlerProtection implements ProtectionParameter | |
Inner Class :public static interface Entry | |
Inner Class :public static interface LoadStoreParameter | |
Inner Class :public static class PasswordProtection implements ProtectionParameter,Destroyable | |
Inner Class :public static interface ProtectionParameter | |
Inner Class :final public static class PrivateKeyEntry implements Entry | |
Inner Class :final public static class SecretKeyEntry implements Entry | |
Inner Class :final public static class TrustedCertificateEntry implements Entry | |
Method Summary | |
final public Enumeration<String> | aliases() | final public boolean | containsAlias(String alias) | final public void | deleteEntry(String alias) | final public boolean | entryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass) | final public Certificate | getCertificate(String alias) | final public String | getCertificateAlias(Certificate cert) | final public Certificate[] | getCertificateChain(String alias) | final public Date | getCreationDate(String alias) | final public static String | getDefaultType() | final public Entry | getEntry(String alias, ProtectionParameter param) | public static KeyStore | getInstance(String type) | public static KeyStore | getInstance(String type, String provider) | public static KeyStore | getInstance(String type, Provider provider) | final public Key | getKey(String alias, char[] password) | final public Provider | getProvider() | final public String | getType() | final public boolean | isCertificateEntry(String alias) | final public boolean | isKeyEntry(String alias) | final public void | load(InputStream stream, char[] password) | final public void | load(LoadStoreParameter param) | final public void | setCertificateEntry(String alias, Certificate cert) | final public void | setEntry(String alias, Entry entry, ProtectionParameter param) | final public void | setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) | final public void | setKeyEntry(String alias, byte[] key, Certificate[] chain) | final public int | size() | final public void | store(OutputStream stream, char[] password) | final public void | store(LoadStoreParameter param) |
containsAlias | final public boolean containsAlias(String alias) throws KeyStoreException(Code) | | 1.4.2 and 1.5 releases throw unspecified NullPointerException when
alias is null
|
deleteEntry | final public void deleteEntry(String alias) throws KeyStoreException(Code) | | 1.4.2 and 1.5 releases throw NullPointerException when alias is null
|
getDefaultType | final public static String getDefaultType()(Code) | | |
isCertificateEntry | final public boolean isCertificateEntry(String alias) throws KeyStoreException(Code) | | jdk1.4.2 and 1.5 releases throw unspecified NullPointerException
when alias is null
|
isKeyEntry | final public boolean isKeyEntry(String alias) throws KeyStoreException(Code) | | jdk1.4.2 and 1.5 releases throw unspecified NullPointerException
when alias is null
|
setCertificateEntry | final public void setCertificateEntry(String alias, Certificate cert) throws KeyStoreException(Code) | | 1.4.2 and 1.5 releases throw unspecified NullPointerException
when alias is null
|
setEntry | final public void setEntry(String alias, Entry entry, ProtectionParameter param) throws KeyStoreException(Code) | | 1.5 release throws unspecified NullPointerException when alias or
entry is null
|
setKeyEntry | final public void setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException(Code) | | 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
|
|
|