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

## com.mindbright.jca.security
Class KeyStoreSpi

    java.lang.Object
      com.mindbright.jca.security.KeyStoreSpi

Direct Known Subclasses:
  NetscapeKeyStore, PKCS12KeyStore

public abstract class KeyStoreSpi
extends java.lang.Object

Constructor Summary
`KeyStoreSpi()`

Method Summary
`abstract java.util.Enumeration` | `engineAliases()`
`abstract boolean` | `engineContainsAlias(java.lang.String alias)`
`abstract void` | `engineDeleteEntry(java.lang.String alias)`
`abstract Certificate` | `engineGetCertificate(java.lang.String alias)`
`abstract java.lang.String` | `engineGetCertificateAlias(Certificate cert)`
`abstract Certificate[]` | `engineGetCertificateChain(java.lang.String alias)`
`abstract java.util.Date` | `engineGetCreationDate(java.lang.String alias)`
`abstract Key` | `engineGetKey(java.lang.String alias, char[] password)`
`abstract boolean` | `engineIsCertificateEntry(java.lang.String alias)`
`abstract boolean` | `engineIsKeyEntry(java.lang.String alias)`
`abstract void` | `engineLoad(java.io.InputStream stream, char[] password)`
`abstract void` | `engineSetCertificateEntry(java.lang.String alias, Certificate cert)`
`abstract void` | `engineSetKeyEntry(java.lang.String alias, byte[] key, Certificate[] chain)`
`abstract void` | `engineSetKeyEntry(java.lang.String alias, Key key, char[] password, Certificate[] chain)`
`abstract int` | `engineSize()`
`abstract void` | `engineStore(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

### KeyStoreSpi

    public KeyStoreSpi()

Method Detail

### engineGetKey

    public abstract Key engineGetKey(java.lang.String alias,
                                     char[] password)
                              throws NoSuchAlgorithmException,
                                     UnrecoverableKeyException

  Throws:
    `NoSuchAlgorithmException`
    `UnrecoverableKeyException`

### engineGetCertificateChain

    public abstract Certificate[] engineGetCertificateChain(java.lang.String alias)

### engineGetCertificate

    public abstract Certificate engineGetCertificate(java.lang.String alias)

### engineGetCreationDate

    public abstract java.util.Date engineGetCreationDate(java.lang.String alias)

### engineSetKeyEntry

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

  Throws:
    `KeyStoreException`

### engineSetKeyEntry

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

  Throws:
    `KeyStoreException`

### engineSetCertificateEntry

    public abstract void engineSetCertificateEntry(java.lang.String alias,
                                                   Certificate cert)
                                            throws KeyStoreException

  Throws:
    `KeyStoreException`

### engineDeleteEntry

    public abstract void engineDeleteEntry(java.lang.String alias)
                                    throws KeyStoreException

  Throws:
    `KeyStoreException`

### engineAliases

    public abstract java.util.Enumeration engineAliases()

### engineContainsAlias

    public abstract boolean engineContainsAlias(java.lang.String alias)

### engineSize

    public abstract int engineSize()

### engineIsKeyEntry

    public abstract boolean engineIsKeyEntry(java.lang.String alias)

### engineIsCertificateEntry

    public abstract boolean engineIsCertificateEntry(java.lang.String alias)

### engineGetCertificateAlias

    public abstract java.lang.String engineGetCertificateAlias(Certificate cert)

### engineStore

    public abstract void engineStore(java.io.OutputStream stream,
                                     char[] password)
                              throws java.io.IOException,
                                     NoSuchAlgorithmException,
                                     CertificateException

  Throws:
    `java.io.IOException`
    `NoSuchAlgorithmException`
    `CertificateException`

### engineLoad

    public abstract void engineLoad(java.io.InputStream stream,
                                    char[] password)
                             throws java.io.IOException,
                                    NoSuchAlgorithmException,
                                    CertificateException

  Throws:
    `java.io.IOException`
    `NoSuchAlgorithmException`
    `CertificateException`

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