difi/oxalis — pull request #71 by pavelsbubens (2013-09-20 14:25:35+00:00)
Title: Improved read from the InputStream. Or use (org.apache.commons.io.IOUtil...

...s.toByteArray())

To prevent the following exception on oxalis-statistics-public.key loading

java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: Detect premature EOF
sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:188)

java.security.KeyFactory.generatePublic(KeyFactory.java:304)
eu.peppol.security.StatisticsKeyTool.publicKeyFromBytes(StatisticsKeyTool.java:164)