Package org.apache.kerby.asn1.type
Class AbstractAsn1Type<T>
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<T>
- Type Parameters:
T- the type of the value encoded/decoded or wrapped by this
- All Implemented Interfaces:
Asn1Type
- Direct Known Subclasses:
Asn1Any,Asn1Choice,Asn1CollectionType,Asn1Constructed,Asn1Simple,Asn1Specific,Asn1Tagging,Asn1TaggingCollection
The abstract ASN1 type for all the ASN1 types. It provides basic
encoding and decoding utilities.
-
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
ConstructorsConstructorDescriptionAbstractAsn1Type(Tag tag) Default constructor.AbstractAsn1Type(Tag tag, T value) Default constructor.Default constructor with an universal tag.AbstractAsn1Type(UniversalTag tag, T value) Default constructor with an universal tag. -
Method Summary
Methods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, decodeBody, encode, encode, encodeBody, encodingBodyLength, 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
-
Constructor Details
-
AbstractAsn1Type
Default constructor.- Parameters:
tag- the tagvalue- the value
-
AbstractAsn1Type
Default constructor.- Parameters:
tag- the tag
-
AbstractAsn1Type
Default constructor with an universal tag.- Parameters:
tag- the tagvalue- the value
-
AbstractAsn1Type
Default constructor with an universal tag.- Parameters:
tag- the tag
-
-
Method Details