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 |
---|---|
PemObject |
readPemObject()
Generate BC's PemObject
|
public FlexiblePEMReader(Reader reader)
FlexiblePEMReader
object.reader
- input sourcepublic PemObject readPemObject() throws IOException
readPemObject
in class PemReader
IOException
- IO exceptionCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.