protected Object readObject ( BufferedReader in , byte [ ] password ) throws IOException , GeneralSecurityException { String line ; Object obj = null ; while ( ( line = in . readLine ( ) ) != null ) { obj = processObject ( in , line , password ) ; if ( obj != null ) { break ; } } return obj ; }
Read an object from a PEM like file .