Package org.apache.kerby.asn1.type
Class Asn1Constructed
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<List<Asn1Type>>
org.apache.kerby.asn1.type.Asn1Constructed
- All Implemented Interfaces:
Asn1Dumpable,Asn1Type
- Direct Known Subclasses:
Asn1Collection
ASN1 constructed types, mainly structured ones, but also some primitive ones.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type
Asn1Type.EncodingType -
Field Summary
FieldsFields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
bodyLength, outerEncodeable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()protected voiddecodeBody(Asn1ParseResult parseResult) protected voidvoiddumpWith(Asn1Dumper dumper, int indents) protected voidencodeBody(ByteBuffer buffer) protected intbooleanisLazy()voidsetLazy(boolean lazy) Methods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type
getValue, setValue, toStringMethods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveMethods inherited from class org.apache.kerby.asn1.type.Asn1Object
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNo
-
Field Details
-
container
-
-
Constructor Details
-
Asn1Constructed
-
-
Method Details
-
getContainer
-
setLazy
public void setLazy(boolean lazy) -
isLazy
public boolean isLazy() -
addItem
-
clear
public void clear() -
encodingBodyLength
- Specified by:
encodingBodyLengthin classAsn1Encodeable- Throws:
IOException
-
encodeBody
- Overrides:
encodeBodyin classAsn1Encodeable- Throws:
IOException
-
decodeBody
- Specified by:
decodeBodyin classAsn1Encodeable- Throws:
IOException
-
decodeElements
- Throws:
IOException
-
dumpWith
- Specified by:
dumpWithin interfaceAsn1Dumpable
-