Package org.apache.kerby.asn1.type
Class Asn1Tagging<T extends Asn1Type>
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<T>
org.apache.kerby.asn1.type.Asn1Tagging<T>
- All Implemented Interfaces:
Asn1Dumpable,Asn1Type
For tagging any Asn1Type with a tagNo
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type
Asn1Type.EncodingType -
Field Summary
Fields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
bodyLength, outerEncodeable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecodeBody(Asn1ParseResult parseResult) voiddumpWith(Asn1Dumper dumper, int indents) protected voidencodeBody(ByteBuffer buffer) protected intvoiduseImplicit(boolean isImplicit) Use implicit or not.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, usePrimitiveMethods inherited from class org.apache.kerby.asn1.type.Asn1Object
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNo
-
Constructor Details
-
Asn1Tagging
-
-
Method Details
-
useImplicit
public void useImplicit(boolean isImplicit) Description copied from interface:Asn1TypeUse implicit or not.- Specified by:
useImplicitin interfaceAsn1Type- Overrides:
useImplicitin classAsn1Encodeable
-
encodingBodyLength
- Specified by:
encodingBodyLengthin classAsn1Encodeable- Throws:
IOException
-
encodeBody
- Overrides:
encodeBodyin classAsn1Encodeable- Throws:
IOException
-
decodeBody
- Specified by:
decodeBodyin classAsn1Encodeable- Throws:
IOException
-
dumpWith
- Specified by:
dumpWithin interfaceAsn1Dumpable
-