Class PEMParserBC
java.lang.Object
com.itextpdf.bouncycastle.openssl.PEMParserBC
- All Implemented Interfaces:
IPEMParser, Closeable, AutoCloseable
Wrapper class for
PEMParser.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPEMParserBC(org.bouncycastle.openssl.PEMParser parser) Creates new wrapper instance forPEMParser. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Delegatesclosemethod call to the wrapped parser.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.openssl.PEMParserGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.Calls actualreadObjectmethod for the wrapped PEMParser object.toString()DelegatestoStringmethod call to the wrapped object.
-
Field Details
-
parser
private final org.bouncycastle.openssl.PEMParser parser
-
-
Constructor Details
-
PEMParserBC
public PEMParserBC(org.bouncycastle.openssl.PEMParser parser) Creates new wrapper instance forPEMParser.- Parameters:
parser-PEMParserto be wrapped
-
-
Method Details
-
getParser
public org.bouncycastle.openssl.PEMParser getParser()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
PEMParser.
-
readObject
Calls actualreadObjectmethod for the wrapped PEMParser object.- Specified by:
readObjectin interfaceIPEMParser- Returns:
Objectwhich represents read object.- Throws:
IOException- in case of issues with file.
-
close
Delegatesclosemethod call to the wrapped parser.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
equals
-
hashCode
-
toString
-