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
Modifier and TypeFieldDescriptionprotected Switch
protected final OERDefinition.BaseType
protected int
protected ArrayList
<OERDefinition.Builder> protected org.bouncycastle.asn1.ASN1Encodable
protected ElementSupplier
protected BigInteger
protected boolean
protected Boolean
protected String
protected BigInteger
protected boolean
protected OERDefinition.Builder
protected Map
<String, ElementSupplier> protected String
protected BigInteger
protected ArrayList
<org.bouncycastle.asn1.ASN1Encodable> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addExtensions
(OERDefinition.Builder b, org.bouncycastle.oer.OERDefinition.ExtensionList extensionList) protected void
addOptionals
(OERDefinition.Builder b, int block, org.bouncycastle.oer.OERDefinition.OptionalList optionalList) protected OERDefinition.Builder
block
(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
-