public class BERPrivateParser extends java.lang.Object implements ASN1PrivateParser
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Return an in-memory, encodable, representation of the private object.
|
ASN1Encodable |
readObject()
Return the object contained in this private object,
|
ASN1Primitive |
toASN1Primitive()
Return a BERPrivate representing this parser and its contents.
|
public ASN1Encodable readObject() throws java.io.IOException
readObject
in interface ASN1PrivateParser
java.io.IOException
- if the underlying stream cannot be read, or does not contain an ASN.1 encoding.public ASN1Primitive getLoadedObject() throws java.io.IOException
getLoadedObject
in interface InMemoryRepresentable
java.io.IOException
- if there is an issue loading the data.public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable