Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.security
Class KeyStore

    java.lang.Object
      |
      +--java.security.KeyStore

public class KeyStore
extends java.lang.Object

Constructor Summary
`protected` | `KeyStore(KeyStoreSpi keyStoreSpi, java.security.Provider provider, java.lang.String type)`

Method Summary
`java.util.Enumeration` | `aliases()`
`boolean` | `containsAlias(java.lang.String alias)`
`void` | `deleteEntry(java.lang.String alias)`
`Certificate` | `getCertificate(java.lang.String alias)`
`java.lang.String` | `getCertificateAlias(Certificate cert)`
`Certificate[]` | `getCertificateChain(java.lang.String alias)`
`java.util.Date` | `getCreationDate(java.lang.String alias)`
`static java.lang.String` | `getDefaultType()`
`static KeyStore` | `getInstance(java.lang.String type)`
`static KeyStore` | `getInstance(java.lang.String type, java.lang.String provider)`
`java.security.Key` | `getKey(java.lang.String alias, char[] password)`
`java.security.Provider` | `getProvider()`
`java.lang.String` | `getType()`
`boolean` | `isCertificateEntry(java.lang.String alias)`
`boolean` | `isKeyEntry(java.lang.String alias)`
`void` | `load(java.io.InputStream stream, char[] password)`
`void` | `setCertificateEntry(java.lang.String alias, Certificate cert)`
`void` | `setKeyEntry(java.lang.String alias, byte[] key, Certificate[] chain)`
`void` | `setKeyEntry(java.lang.String alias, java.security.Key key, char[] password, Certificate[] chain)`
`int` | `size()`
`void` | `store(java.io.OutputStream stream, char[] password)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KeyStore

    protected KeyStore(KeyStoreSpi keyStoreSpi,
                       java.security.Provider provider,
                       java.lang.String type)

Method Detail

### aliases

    public final java.util.Enumeration aliases()
                                        throws KeyStoreException

    `KeyStoreException`

### containsAlias

    public final boolean containsAlias(java.lang.String alias)
                                throws KeyStoreException

    `KeyStoreException`

### deleteEntry

    public final void deleteEntry(java.lang.String alias)
                           throws KeyStoreException

    `KeyStoreException`

### getCertificate

    public final Certificate getCertificate(java.lang.String alias)
                                     throws KeyStoreException

    `KeyStoreException`

### getCertificateAlias

    public final java.lang.String getCertificateAlias(Certificate cert)
                                               throws KeyStoreException

    `KeyStoreException`

### getCertificateChain

    public final Certificate[] getCertificateChain(java.lang.String alias)
                                            throws KeyStoreException

    `KeyStoreException`

### getCreationDate

    public final java.util.Date getCreationDate(java.lang.String alias)
                                         throws KeyStoreException

    `KeyStoreException`

### getDefaultType

    public static final java.lang.String getDefaultType()

### getInstance

    public static KeyStore getInstance(java.lang.String type)
                                throws KeyStoreException

    `KeyStoreException`

### getInstance

    public static KeyStore getInstance(java.lang.String type,
                                       java.lang.String provider)
                                throws KeyStoreException,
                                       java.security.NoSuchProviderException

    `KeyStoreException`
    `java.security.NoSuchProviderException`

### getKey

    public final java.security.Key getKey(java.lang.String alias,
                                          char[] password)
                                   throws KeyStoreException,
                                          java.security.NoSuchAlgorithmException,
                                          UnrecoverableKeyException

    `KeyStoreException`
    `java.security.NoSuchAlgorithmException`
    `UnrecoverableKeyException`

### getProvider

    public final java.security.Provider getProvider()

### getType

    public final java.lang.String getType()

### isCertificateEntry

    public final boolean isCertificateEntry(java.lang.String alias)
                                     throws KeyStoreException

    `KeyStoreException`

### isKeyEntry

    public final boolean isKeyEntry(java.lang.String alias)
                             throws KeyStoreException

    `KeyStoreException`

### load

    public final void load(java.io.InputStream stream,
                           char[] password)
                    throws java.io.IOException,
                           java.security.NoSuchAlgorithmException,
                           CertificateException

    `java.io.IOException`
    `java.security.NoSuchAlgorithmException`
    `CertificateException`

### setCertificateEntry

    public final void setCertificateEntry(java.lang.String alias,
                                          Certificate cert)
                                   throws KeyStoreException

    `KeyStoreException`

### setKeyEntry

    public final void setKeyEntry(java.lang.String alias,
                                  java.security.Key key,
                                  char[] password,
                                  Certificate[] chain)
                           throws KeyStoreException

    `KeyStoreException`

### setKeyEntry

    public final void setKeyEntry(java.lang.String alias,
                                  byte[] key,
                                  Certificate[] chain)
                           throws KeyStoreException

    `KeyStoreException`

### size

    public final int size()
                   throws KeyStoreException

    `KeyStoreException`

### store

    public final void store(java.io.OutputStream stream,
                            char[] password)
                     throws KeyStoreException,
                            java.io.IOException,
                            java.security.NoSuchAlgorithmException,
                            CertificateException

    `KeyStoreException`
    `java.io.IOException`
    `java.security.NoSuchAlgorithmException`
    `CertificateException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD