Package org.apache.kerby.asn1
Class Asn1Converter
java.lang.Object
org.apache.kerby.asn1.Asn1Converter
Converting a ASN1 parsing result into an ASN1 object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Asn1Typeconvert(Asn1ParseResult parseResult, boolean isLazy) static Asn1TypeconvertAs(Asn1ParseResult parseResult, Class<? extends Asn1Type> type) static Asn1TypeconvertAsCollection(Asn1ParseResult parseResult, boolean isLazy) static Asn1TypeconvertAsSimple(Asn1ParseResult parseResult)
-
Method Details
-
convert
- Throws:
IOException
-
convertAsSimple
- Throws:
IOException
-
convertAsCollection
public static Asn1Type convertAsCollection(Asn1ParseResult parseResult, boolean isLazy) throws IOException - Throws:
IOException
-
convertAs
public static Asn1Type convertAs(Asn1ParseResult parseResult, Class<? extends Asn1Type> type) throws IOException - Throws:
IOException
-