FileDocCategorySizeDatePackage
MyTrustManagerFactorySpi.javaAPI DocAndroid 1.5 API2438Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support

MyTrustManagerFactorySpi

public class MyTrustManagerFactorySpi extends TrustManagerFactorySpi
Class for vertifying TrustManagerFactorySpi and TrustManagerFactory functionality

Fields Summary
Constructors Summary
Methods Summary
protected javax.net.ssl.TrustManager[]engineGetTrustManagers()

        return null;
    
protected voidengineInit(java.security.KeyStore ks)

        if (ks == null) {
            throw new KeyStoreException("Not supported operation for null KeyStore");
        }
    
protected voidengineInit(javax.net.ssl.ManagerFactoryParameters spec)

        if (spec == null) {
            throw new InvalidAlgorithmParameterException("Null parameter");
        }
        if (spec instanceof Parameters) {
            try {
                engineInit(((Parameters)spec).getKeyStore());
            } catch (KeyStoreException e) {
                throw new RuntimeException(e);
            }
        } else {
            throw new InvalidAlgorithmParameterException("Invalid parameter");
        }