class AMKeyProvider implements KeyProvider {

    public java.security.cert.X509Certificate getX509Certificate(
            String certAlias) {
        if (certAlias == null || certAlias.length() == 0) {
            return null;
        }
        java.security.cert.X509Certificate cert = null;
        try {
            cert = (X509Certificate) ks.getCertificate(certAlias);
        } catch (KeyStoreException e) {
            logger.error("Unable to get cert alias:" + certAlias, e);
        }
        return cert;
    }

    public  AMKeyProvider();
    public  AMKeyProvider(
            String keyStoreFilePropName, String keyStorePassFilePropName,
            String keyStoreTypePropName, String privateKeyPassFilePropName);
    public  AMKeyProvider(boolean alreadyResolved,
            String keyStoreFile, String keyStorePass,
            String keyStoreType, String privateKeyPass);

}