public class FlexiblePEMReader
extends org.bouncycastle.openssl.PEMReader
PEMReader
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.Constructor and Description |
---|
FlexiblePEMReader(Reader reader)
Creates a new
FlexiblePEMReader object. |
FlexiblePEMReader(Reader reader,
org.bouncycastle.openssl.PasswordFinder pFinder)
Create a new FlexiblePEMReader with a password finder
|
FlexiblePEMReader(Reader reader,
org.bouncycastle.openssl.PasswordFinder pFinder,
String provider)
Create a new FlexiblePEMReader with a password finder and provider
|
FlexiblePEMReader(Reader reader,
org.bouncycastle.openssl.PasswordFinder pFinder,
String symProvider,
String asymProvider)
Creates a new
FlexiblePEMReader object. |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.util.io.pem.PemObject |
readPemObject()
Generate BC's PemObject
|
close, mark, markSupported, read, read, readLine, ready, reset, skip
public FlexiblePEMReader(Reader reader)
FlexiblePEMReader
object.reader
- input sourcepublic FlexiblePEMReader(Reader reader, org.bouncycastle.openssl.PasswordFinder pFinder, String symProvider, String asymProvider)
FlexiblePEMReader
object.reader
- input sourcepFinder
- symProvider
- asymProvider
- public FlexiblePEMReader(Reader reader, org.bouncycastle.openssl.PasswordFinder pFinder, String provider)
reader
- the ReaderpFinder
- the password finderprovider
- the cryptography provider to usepublic FlexiblePEMReader(Reader reader, org.bouncycastle.openssl.PasswordFinder pFinder)
reader
- the ReaderpFinder
- the password finderpublic org.bouncycastle.util.io.pem.PemObject readPemObject() throws IOException
readPemObject
in class org.bouncycastle.util.io.pem.PemReader
IOException
Copyright © 2012–2013 European Middleware Initiative. All rights reserved.