public class Asn1Boolean extends Asn1Simple<Boolean>
Asn1Type.EncodingType| Modifier and Type | Field and Description |
|---|---|
static Asn1Boolean |
FALSE |
static Asn1Boolean |
TRUE |
bodyLength, outerEncodeable| Constructor and Description |
|---|
Asn1Boolean()
Default constructor, generally for decoding as a container
|
Asn1Boolean(Boolean value)
Constructor with a value, generally for encoding of the value
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeBody(Asn1ParseResult parseResult) |
protected int |
encodingBodyLength() |
protected void |
toBytes() |
protected void |
toValue() |
createSimple, createSimple, encodeBody, encodeBody, 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 static final Asn1Boolean TRUE
public static final Asn1Boolean FALSE
public Asn1Boolean()
public Asn1Boolean(Boolean value)
value - The boolean valueprotected int encodingBodyLength()
encodingBodyLength in class Asn1Simple<Boolean>protected void decodeBody(Asn1ParseResult parseResult) throws IOException
decodeBody in class Asn1Simple<Boolean>IOExceptionprotected void toBytes()
toBytes in class Asn1Simple<Boolean>protected void toValue()
throws IOException
toValue in class Asn1Simple<Boolean>IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.