Class PemReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.bouncycastle.util.io.pem.PemReader
- All Implemented Interfaces:
Closeable, AutoCloseable, Readable
A generic PEM reader, based on the format outlined in RFC 1421
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRead the next PEM object as a blob of raw data with header information.Methods inherited from class BufferedReader
close, lines, mark, markSupported, read, read, readLine, ready, reset, skipMethods inherited from class Reader
nullReader, of, read, read, readAllAsString, readAllLines, transferTo
-
Field Details
-
LAX_PEM_PARSING_SYSTEM_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
PemReader
-
-
Method Details
-
readPemObject
Read the next PEM object as a blob of raw data with header information.- Returns:
- the next object in the stream, null if no objects left.
- Throws:
IOException- in case of a parse error.
-