FileDocCategorySizeDatePackage
KeyManagerFactorySpiImpl.javaAPI DocAndroid 1.5 API1494Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.tests.support

KeyManagerFactorySpiImpl

public class KeyManagerFactorySpiImpl extends MyKeyManagerFactorySpi

Fields Summary
private boolean
isInitialized
Constructors Summary
Methods Summary
public javax.net.ssl.KeyManager[]engineGetKeyManagers()

        if(!isInitialized)
            throw new IllegalStateException("KeyManagerFactoryImpl is not initialized");
        else
            return null;
    
public voidengineInit(java.security.KeyStore ks, char[] password)

    
         
              
             
        
        if (ks == null && password == null) {
            throw new NoSuchAlgorithmException();            
        }
        
        if (ks == null) {
            throw new KeyStoreException();
        }
        
        if (password == null) {
            throw new UnrecoverableKeyException();            
        }
        
        isInitialized = true;
    
public voidengineInit(javax.net.ssl.ManagerFactoryParameters spec)

        if (spec == null) {
            throw new InvalidAlgorithmParameterException("Incorrect parameter");
        }
        isInitialized = true;