public class FlexiblePEMReader
extends org.bouncycastle.openssl.PEMParser
PEMParser
class so it can read correctly also
PEM files with a garbage at the beginning
and minor syntax violations which occur more then often in the wild.
TODO - probably we can remove this class - BC seems to be fixed.Constructor and Description |
---|
FlexiblePEMReader(Reader reader)
Creates a new
FlexiblePEMReader object. |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.util.io.pem.PemObject |
readPemObject()
Generate BC's PemObject
|
public FlexiblePEMReader(Reader reader)
FlexiblePEMReader
object.reader
- input sourcepublic org.bouncycastle.util.io.pem.PemObject readPemObject() throws IOException
readPemObject
in class org.bouncycastle.util.io.pem.PemReader
IOException
- IO exceptionCopyright © 2012–2015 European Middleware Initiative. All rights reserved.