Package org.bouncycastle.oer
Class OERDefinition.Builder
java.lang.Object
org.bouncycastle.oer.OERDefinition.Builder
- Direct Known Subclasses:
OERDefinition.MutableBuilder
- Enclosing class:
- OERDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Switchprotected final OERDefinition.BaseTypeprotected intprotected ArrayList<OERDefinition.Builder>protected org.bouncycastle.asn1.ASN1Encodableprotected ElementSupplierprotected BigIntegerprotected booleanprotected Booleanprotected Stringprotected BigIntegerprotected booleanprotected OERDefinition.Builderprotected Map<String,ElementSupplier> protected Stringprotected BigIntegerprotected ArrayList<org.bouncycastle.asn1.ASN1Encodable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddExtensions(OERDefinition.Builder b, org.bouncycastle.oer.OERDefinition.ExtensionList extensionList) protected voidaddOptionals(OERDefinition.Builder b, int block, org.bouncycastle.oer.OERDefinition.OptionalList optionalList) protected OERDefinition.Builderblock(int block) build()copy()decodeSwitch(Switch aSwitch) defaultValue(org.bouncycastle.asn1.ASN1Encodable defaultValue) elementSupplier(ElementSupplier elementSupplier) enumValue(BigInteger value) explicit(boolean explicit) fixedSize(long size) inScope(boolean scope) labelPrefix(String prefix) limitScopeTo(String... label) mayRecurse(boolean val) range(long lower, long upper, org.bouncycastle.asn1.ASN1Encodable defaultIntValue) range(BigInteger lower, BigInteger upper) rangeToMAXFrom(long from) rangeZeroTo(long max) replaceChild(int index, OERDefinition.Builder newItem) validSwitchValue(org.bouncycastle.asn1.ASN1Encodable... values) protected OERDefinition.Builder
-
Field Details
-
baseType
-
children
-
explicit
protected boolean explicit -
typeName
-
label
-
upperBound
-
lowerBound
-
enumValue
-
defaultValue
protected org.bouncycastle.asn1.ASN1Encodable defaultValue -
placeholderValue
-
inScope
-
aSwitch
-
validSwitchValues
-
elementSupplier
-
mayRecurse
protected boolean mayRecurse -
supplierMap
-
block
protected int block
-
-
Constructor Details
-
Builder
-
-
Method Details
-
block
-
copy
-
elementSupplier
-
validSwitchValue
-
inScope
-
limitScopeTo
-
typeName
-
unbounded
-
decodeSwitch
-
labelPrefix
-
explicit
-
defaultValue
-
wrap
-
addExtensions
protected void addExtensions(OERDefinition.Builder b, org.bouncycastle.oer.OERDefinition.ExtensionList extensionList) -
addOptionals
protected void addOptionals(OERDefinition.Builder b, int block, org.bouncycastle.oer.OERDefinition.OptionalList optionalList) -
items
-
label
-
mayRecurse
-
build
-
range
-
rangeToMAXFrom
-
rangeZeroTo
-
fixedSize
-
range
public OERDefinition.Builder range(long lower, long upper, org.bouncycastle.asn1.ASN1Encodable defaultIntValue) -
enumValue
-
replaceChild
-