modules/jretools/src/main/java/org/apache/harmony/jretools/keytool/CertChainVerifier.java [315:327]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static CertPathBuilderResult buildCertPath(KeytoolParameters param,
            X509Certificate newCert) throws NoSuchAlgorithmException,
            CertificateException, KeyStoreException, CertPathBuilderException,
            IOException, KeytoolException, NoSuchProviderException {
        Collection[] trustedSeparated = separateTrusted(param);
        Set selfSignedTAs = (Set) trustedSeparated[0];
        Collection trustedCerts = trustedSeparated[1];

        String certProvider = (param.getCertProvider() != null) ? param
                .getCertProvider() : param.getProvider();

        return buildCertPath(certProvider, newCert, selfSignedTAs, trustedCerts);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



modules/jdktools/src/main/java/org/apache/harmony/tools/keytool/CertChainVerifier.java [315:327]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    static CertPathBuilderResult buildCertPath(KeytoolParameters param,
            X509Certificate newCert) throws NoSuchAlgorithmException,
            CertificateException, KeyStoreException, CertPathBuilderException,
            IOException, KeytoolException, NoSuchProviderException {
        Collection[] trustedSeparated = separateTrusted(param);
        Set selfSignedTAs = (Set) trustedSeparated[0];
        Collection trustedCerts = trustedSeparated[1];

        String certProvider = (param.getCertProvider() != null) ? param
                .getCertProvider() : param.getProvider();

        return buildCertPath(certProvider, newCert, selfSignedTAs, trustedCerts);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



