Closeable
, AutoCloseable
, Readable
public class PEMReader extends PEMReader
Identical to BouncyCastle's version, but this one always accepts garbage before and after the BEGIN/END object blocks. BouncyCastle 1.46 stopped accepting garbage at the beginning, and this class does accept it.
Note that BufferedReader.mark(int)
and BufferedReader.reset()
cannot be used because
of this workaround.
Constructor | Description |
---|---|
PEMReader(Reader paramReader) |
|
PEMReader(Reader paramReader,
PasswordFinder paramPasswordFinder) |
|
PEMReader(Reader paramReader,
PasswordFinder paramPasswordFinder,
String paramString) |
|
PEMReader(Reader paramReader,
PasswordFinder paramPasswordFinder,
String paramString1,
String paramString2) |
Modifier and Type | Method | Description |
---|---|---|
Object |
readObject() |
close, lines, mark, markSupported, read, read, readLine, ready, reset, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readPemObject
read, read, transferTo
public PEMReader(Reader paramReader)
public PEMReader(Reader paramReader, PasswordFinder paramPasswordFinder)
public PEMReader(Reader paramReader, PasswordFinder paramPasswordFinder, String paramString)
public PEMReader(Reader paramReader, PasswordFinder paramPasswordFinder, String paramString1, String paramString2)
public Object readObject() throws IOException
readObject
in class PEMReader
IOException
Copyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.