Package org.apache.kerby.asn1.type
Class Asn1Eoc
java.lang.Object
- All Implemented Interfaces:
Asn1Type
To represent Asn1 End Of Content type
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecodeBody(Asn1ParseResult parseResult) voidencode(ByteBuffer buffer) Encode the type, by recursively, using the provided buffer.protected byte[]protected inttoString()Methods inherited from class org.apache.kerby.asn1.type.Asn1Simple
createSimple, createSimple, encodeBody, getBytes, isDefinitiveLength, isSimple, isSimple, isSimple, setBytes, toBytes, toValueMethods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type
getValue, setValueMethods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, 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
-
INSTANCE
-
-
Method Details
-
encode
Description copied from interface:Asn1TypeEncode the type, by recursively, using the provided buffer.- Specified by:
encodein interfaceAsn1Type- Overrides:
encodein classAsn1Encodeable- Parameters:
buffer- The byte buffer
-
encodeBody
protected byte[] encodeBody()- Overrides:
encodeBodyin classAsn1Simple<Object>
-
encodingBodyLength
protected int encodingBodyLength()- Overrides:
encodingBodyLengthin classAsn1Simple<Object>
-
decodeBody
- Overrides:
decodeBodyin classAsn1Simple<Object>- Throws:
IOException
-
toString
- Overrides:
toStringin classAsn1Simple<Object>
-