Build 1.0_r1(from source)

java.security
Class KeyStoreSpi

java.lang.Object
  extended by java.security.KeyStoreSpi

public abstract class KeyStoreSpi
extends Object


Constructor Summary
KeyStoreSpi()
           
 
Method Summary
abstract  Enumeration<String> engineAliases()
           
abstract  boolean engineContainsAlias(String alias)
           
abstract  void engineDeleteEntry(String alias)
           
 boolean engineEntryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass)
           
abstract  Certificate engineGetCertificate(String alias)
           
abstract  String engineGetCertificateAlias(Certificate cert)
           
abstract  Certificate[] engineGetCertificateChain(String alias)
           
abstract  Date engineGetCreationDate(String alias)
           
 KeyStore.Entry engineGetEntry(String alias, KeyStore.ProtectionParameter protParam)
           
abstract  Key engineGetKey(String alias, char[] password)
           
abstract  boolean engineIsCertificateEntry(String alias)
           
abstract  boolean engineIsKeyEntry(String alias)
           
abstract  void engineLoad(InputStream stream, char[] password)
           
 void engineLoad(KeyStore.LoadStoreParameter param)
           
abstract  void engineSetCertificateEntry(String alias, Certificate cert)
           
 void engineSetEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter protParam)
           
abstract  void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
           
abstract  void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
           
abstract  int engineSize()
           
 void engineStore(KeyStore.LoadStoreParameter param)
           
abstract  void engineStore(OutputStream stream, char[] password)
           
(package private) static char[] getPasswordFromCallBack(KeyStore.ProtectionParameter protParam)
           
 
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(String alias,
                                 char[] password)
                          throws NoSuchAlgorithmException,
                                 UnrecoverableKeyException
Throws:
NoSuchAlgorithmException
UnrecoverableKeyException

engineGetCertificateChain

public abstract Certificate[] engineGetCertificateChain(String alias)

engineGetCertificate

public abstract Certificate engineGetCertificate(String alias)

engineGetCreationDate

public abstract Date engineGetCreationDate(String alias)

engineSetKeyEntry

public abstract void engineSetKeyEntry(String alias,
                                       Key key,
                                       char[] password,
                                       Certificate[] chain)
                                throws KeyStoreException
Throws:
KeyStoreException

engineSetKeyEntry

public abstract void engineSetKeyEntry(String alias,
                                       byte[] key,
                                       Certificate[] chain)
                                throws KeyStoreException
Throws:
KeyStoreException

engineSetCertificateEntry

public abstract void engineSetCertificateEntry(String alias,
                                               Certificate cert)
                                        throws KeyStoreException
Throws:
KeyStoreException

engineDeleteEntry

public abstract void engineDeleteEntry(String alias)
                                throws KeyStoreException
Throws:
KeyStoreException

engineAliases

public abstract Enumeration<String> engineAliases()

engineContainsAlias

public abstract boolean engineContainsAlias(String alias)

engineSize

public abstract int engineSize()

engineIsKeyEntry

public abstract boolean engineIsKeyEntry(String alias)

engineIsCertificateEntry

public abstract boolean engineIsCertificateEntry(String alias)

engineGetCertificateAlias

public abstract String engineGetCertificateAlias(Certificate cert)

engineStore

public abstract void engineStore(OutputStream stream,
                                 char[] password)
                          throws IOException,
                                 NoSuchAlgorithmException,
                                 CertificateException
Throws:
IOException
NoSuchAlgorithmException
CertificateException

engineStore

public void engineStore(KeyStore.LoadStoreParameter param)
                 throws IOException,
                        NoSuchAlgorithmException,
                        CertificateException
Throws:
IOException
NoSuchAlgorithmException
CertificateException

engineLoad

public abstract void engineLoad(InputStream stream,
                                char[] password)
                         throws IOException,
                                NoSuchAlgorithmException,
                                CertificateException
Throws:
IOException
NoSuchAlgorithmException
CertificateException

engineLoad

public void engineLoad(KeyStore.LoadStoreParameter param)
                throws IOException,
                       NoSuchAlgorithmException,
                       CertificateException
Throws:
IOException
NoSuchAlgorithmException
CertificateException

engineGetEntry

public KeyStore.Entry engineGetEntry(String alias,
                                     KeyStore.ProtectionParameter protParam)
                              throws KeyStoreException,
                                     NoSuchAlgorithmException,
                                     UnrecoverableEntryException
Throws:
KeyStoreException
NoSuchAlgorithmException
UnrecoverableEntryException

engineSetEntry

public void engineSetEntry(String alias,
                           KeyStore.Entry entry,
                           KeyStore.ProtectionParameter protParam)
                    throws KeyStoreException
Throws:
KeyStoreException

engineEntryInstanceOf

public boolean engineEntryInstanceOf(String alias,
                                     Class<? extends KeyStore.Entry> entryClass)

getPasswordFromCallBack

static char[] getPasswordFromCallBack(KeyStore.ProtectionParameter protParam)
                               throws UnrecoverableEntryException
Throws:
UnrecoverableEntryException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature