Code example for NoSuchAlgorithmException

Methods: getMessage

0
            return keyStore;
        } catch (KeyStoreException e) {
            XLog.e(CLASS_NAME, e.getMessage());
            return null; 
        } catch (NoSuchAlgorithmException e) {
            XLog.e(CLASS_NAME, e.getMessage());
            return null; 
        } catch (CertificateException e) {
            XLog.e(CLASS_NAME, e.getMessage());
            return null; 
        } catch (IOException e) {
            XLog.e(CLASS_NAME, e.getMessage());
            return null; 
        } finally { 
            try { 
                if (null != certificateFileStream) {
                    certificateFileStream.close();
                } 
            } catch (IOException e) {
                XLog.e(CLASS_NAME, e.getMessage());
                return null;