public abstract class Asn1Enumerated<T extends EnumType> extends Asn1Simple<T>
Asn1Type.EncodingTypebodyLength, outerEncodeable| Constructor and Description |
|---|
Asn1Enumerated()
Default constructor, generally for decoding as a container
|
Asn1Enumerated(T value)
Constructor with a value, generally for encoding of the value
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract EnumType[] |
getAllEnumValues() |
protected void |
toBytes() |
protected void |
toValue() |
createSimple, createSimple, decodeBody, encodeBody, encodeBody, encodingBodyLength, getBytes, isDefinitiveLength, isSimple, isSimple, isSimple, setBytes, toStringgetValue, setValuedecode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, 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 Asn1Enumerated()
public Asn1Enumerated(T value)
value - The boolean valueprotected void toBytes()
toBytes in class Asn1Simple<T extends EnumType>protected void toValue()
throws IOException
toValue in class Asn1Simple<T extends EnumType>IOExceptionprotected abstract EnumType[] getAllEnumValues()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.