May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class java.security.KeyStoreSpi
This is the service provider interface for implementations of the keystore engine. Each method of the KeyStore class corresponds naturally to a method of this engine, which is expected to provide the required information. When the engine is asked to store a key and is given a password (an array of characters), the engine is expected to encrypt the key. The engine should not encrypt the entire database (using the password to the store( ) method); the database password is used to detect tampering but cannot be required to read the keystore.
public abstract class java.security.KeyStoreSpi extends java.lang.Object { // Constructors public KeyStoreSpi( ); // Instance Methods public abstract Enumeration engineAliases( ); public abstract boolean engineContainsAlias(String); public abstract void engineDeleteEntry(String); public abstract Certificate engineGetCertificate(String); public abstract String engineGetCertificateAlias(Certificate); public abstract Certificate[] engineGetCertificateChain(String); public abstract Date engineGetCreationDate(String); public abstract Key engineGetKey(String, char[]); public abstract boolean engineIsCertificateEntry(String); public abstract boolean engineIsKeyEntry(String); public abstract void engineLoad(InputStream, char[]); public abstract void engineSetCertificateEntry( String, Certificate); public abstract void engineSetKeyEntry(String, byte[], Certificate[]); public abstract void engineSetKeyEntry(String, ...Read now
Unlock full access