public abstract class Asn1CollectionType extends AbstractAsn1Type<Asn1CollectionType> implements Asn1Dumpable
Asn1Type.EncodingTypebodyLength, outerEncodeable| Constructor and Description |
|---|
Asn1CollectionType(UniversalTag universalTag,
Asn1FieldInfo[] fieldInfos) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Asn1Collection |
createCollection() |
protected void |
decodeBody(Asn1ParseResult parseResult) |
void |
dumpWith(Asn1Dumper dumper,
int indents) |
protected void |
encodeBody(ByteBuffer buffer) |
protected int |
encodingBodyLength() |
protected <T extends Asn1Type> |
getFieldAs(EnumType index,
Class<T> t) |
protected <T extends Asn1Type> |
getFieldAsAny(EnumType index,
Class<T> t) |
protected Integer |
getFieldAsInteger(EnumType index) |
protected String |
getFieldAsObjId(EnumType index) |
protected byte[] |
getFieldAsOctets(EnumType index) |
protected String |
getFieldAsString(EnumType index) |
protected void |
setAnyFieldValueType(EnumType index,
Class<? extends Asn1Type> valueType) |
protected void |
setFieldAs(EnumType index,
Asn1Type value) |
protected void |
setFieldAsAny(EnumType index,
Asn1Type value) |
protected void |
setFieldAsInt(EnumType index,
BigInteger value) |
protected void |
setFieldAsInt(EnumType index,
int value) |
protected void |
setFieldAsObjId(EnumType index,
String value) |
protected void |
setFieldAsOctets(EnumType index,
byte[] bytes) |
getValue, setValue, toStringdecode, 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, usePrimitiveisAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNopublic Asn1CollectionType(UniversalTag universalTag, Asn1FieldInfo[] fieldInfos)
protected int encodingBodyLength()
throws IOException
encodingBodyLength in class Asn1EncodeableIOExceptionprotected void encodeBody(ByteBuffer buffer) throws IOException
encodeBody in class Asn1EncodeableIOExceptionprotected void decodeBody(Asn1ParseResult parseResult) throws IOException
decodeBody in class Asn1EncodeableIOExceptionprotected abstract Asn1Collection createCollection()
protected byte[] getFieldAsOctets(EnumType index)
protected void setFieldAsOctets(EnumType index, byte[] bytes)
protected void setFieldAsInt(EnumType index, int value)
protected void setFieldAsInt(EnumType index, BigInteger value)
protected void setAnyFieldValueType(EnumType index, Class<? extends Asn1Type> valueType)
public void dumpWith(Asn1Dumper dumper, int indents)
dumpWith in interface Asn1DumpableCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.