Name

KeyStoreSpi

Synopsis

This abstract class defines the service-provider interface for KeyStore. A security provider must implement a concrete subclass of this class for each KeyStore type it supports. Applications never need to use or subclass this class.

public abstract class KeyStoreSpi {
// Public Constructors
     public KeyStoreSpi( );  
// Public Instance Methods
     public abstract java.util.Enumeration<String> engineAliases( );  
     public abstract boolean engineContainsAlias(String alias);  
     public abstract void engineDeleteEntry(String alias) 
        throws KeyStoreException;  
5.0  public boolean engineEntryInstanceOf(String alias, Class<? 
        extends KeyStore.Entry> entryClass);  
     public abstract java.security.cert.Certificate engineGetCertificate
        (String alias);  
     public abstract String engineGetCertificateAlias(java.security.cert.
        Certificate cert);  
     public abstract java.security.cert.Certificate[ ] engineGetCertificateChain
        (String alias);  
     public abstract java.util.Date engineGetCreationDate(String alias);  
5.0  public KeyStore.Entry engineGetEntry(String alias, 
        KeyStore.ProtectionParameter protParam) 
        throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableEntryException;  
     public abstract Key engineGetKey(String alias, char[ ] password) 
        throws NoSuchAlgorithmException, UnrecoverableKeyException;  
     public abstract boolean engineIsCertificateEntry(String alias);  
     public abstract boolean engineIsKeyEntry(String alias);  
5.0  public void engineLoad(KeyStore.LoadStoreParameter param) throws java.io.IOException, ...

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.