public static class OERDefinition.Element
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
OERDefinition.BaseType |
baseType |
java.util.List<OERDefinition.Element> |
children |
org.bouncycastle.asn1.ASN1Encodable |
defaultValue |
java.math.BigInteger |
enumValue |
boolean |
explicit |
boolean |
extensionsInDefinition |
java.lang.String |
label |
java.math.BigInteger |
lowerBound |
java.math.BigInteger |
upperBound |
Constructor and Description |
---|
Element(OERDefinition.BaseType baseType,
java.util.List<OERDefinition.Element> children,
boolean explicit,
java.lang.String label,
java.math.BigInteger lowerBound,
java.math.BigInteger upperBound,
boolean extensionsInDefinition,
java.math.BigInteger enumValue,
org.bouncycastle.asn1.ASN1Encodable defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
appendLabel(java.lang.String s) |
boolean |
canBeNegative() |
org.bouncycastle.asn1.ASN1Encodable |
getDefaultValue() |
OERDefinition.Element |
getFirstChid() |
boolean |
hasDefaultChildren() |
boolean |
hasPopulatedExtension() |
int |
intBytesForRange()
Determine the number of integer bytes for a range, ints, signed or unsigned that can fit into 1 to 8 octets
use a fixed with encoding.
|
boolean |
isFixedLength() |
boolean |
isLowerRangeZero() |
boolean |
isUnbounded() |
boolean |
isUnsignedWithRange()
Return true in cases where the range is all positive (0 .. 10)
|
java.util.List<OERDefinition.Element> |
optionalOrDefaultChildrenInOrder() |
java.lang.String |
rangeExpression() |
public final OERDefinition.BaseType baseType
public final java.util.List<OERDefinition.Element> children
public final boolean explicit
public final java.lang.String label
public final java.math.BigInteger lowerBound
public final java.math.BigInteger upperBound
public final boolean extensionsInDefinition
public final java.math.BigInteger enumValue
public final org.bouncycastle.asn1.ASN1Encodable defaultValue
public Element(OERDefinition.BaseType baseType, java.util.List<OERDefinition.Element> children, boolean explicit, java.lang.String label, java.math.BigInteger lowerBound, java.math.BigInteger upperBound, boolean extensionsInDefinition, java.math.BigInteger enumValue, org.bouncycastle.asn1.ASN1Encodable defaultValue)
public java.lang.String rangeExpression()
public java.lang.String appendLabel(java.lang.String s)
public java.util.List<OERDefinition.Element> optionalOrDefaultChildrenInOrder()
public boolean isUnbounded()
public boolean isLowerRangeZero()
public boolean isUnsignedWithRange()
public boolean canBeNegative()
public int intBytesForRange()
public boolean hasPopulatedExtension()
public boolean hasDefaultChildren()
public org.bouncycastle.asn1.ASN1Encodable getDefaultValue()
public OERDefinition.Element getFirstChid()
public boolean isFixedLength()