- AbstractContainer - Class in org.apache.directory.api.asn1.ber
-
This class is the abstract container used to store the current state of a PDU
being decoded.
- AbstractContainer() - Constructor for class org.apache.directory.api.asn1.ber.AbstractContainer
-
Creates a new instance of AbstractContainer with a starting state.
- AbstractContainer(ByteBuffer) - Constructor for class org.apache.directory.api.asn1.ber.AbstractContainer
-
Creates a new instance of AbstractContainer with a starting state.
- AbstractGrammar<C extends Asn1Container> - Class in org.apache.directory.api.asn1.ber.grammar
-
The abstract Grammar which is the Mother of all the grammars.
- AbstractGrammar() - Constructor for class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Default constructor
- AbstractReadBitString<C extends Asn1Container> - Class in org.apache.directory.api.asn1.actions
-
The action used read a BITSTRING from a TLV
- AbstractReadBitString(String) - Constructor for class org.apache.directory.api.asn1.actions.AbstractReadBitString
-
Instantiates a new AbstractReadByteArray action.
- AbstractReadInteger<E extends Asn1Container> - Class in org.apache.directory.api.asn1.actions
-
The action used to read an integer value
- AbstractReadInteger(String) - Constructor for class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
Instantiates a new AbstractReadInteger action.
- AbstractReadInteger(String, int, int) - Constructor for class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
Creates a new instance of AbstractReadInteger.
- AbstractReadOctetString<C extends Asn1Container> - Class in org.apache.directory.api.asn1.actions
-
The action used to read an OCTET STRING value
- AbstractReadOctetString(String) - Constructor for class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
Instantiates a new AbstractReadInteger action.
- AbstractReadOctetString(String, boolean) - Constructor for class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
Instantiates a new AbstractReadInteger action.
- action(C) - Method in class org.apache.directory.api.asn1.actions.AbstractReadBitString
-
The action to be executed.
- action(E) - Method in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
The action to be executed.
- action(C) - Method in class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
The action to be executed.
- action(C) - Method in class org.apache.directory.api.asn1.actions.CheckNotNullLength
-
The action to be executed.
- Action<C extends Asn1Container> - Interface in org.apache.directory.api.asn1.ber.grammar
-
Action interface just contains the method 'action' which must be implemented
in all the implementing classes.
- action(C) - Method in interface org.apache.directory.api.asn1.ber.grammar.Action
-
The action to be executed.
- addData(ByteBuffer) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Append some bytes to the data buffer.
- addData(byte[]) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Append some bytes to the data buffer.
- allowIndefiniteLength() - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Allow indefinite length.
- allowIndefiniteLength() - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Allow indefinite length.
- Asn1Container - Interface in org.apache.directory.api.asn1.ber
-
Every ASN1 container must implement this interface.
- Asn1Decoder - Class in org.apache.directory.api.asn1.ber
-
A BER TLV Tag component decoder.
- Asn1Decoder() - Constructor for class org.apache.directory.api.asn1.ber.Asn1Decoder
-
A public constructor of an Asn1 Decoder.
- getAction() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
- getBytes(int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Utility function that return a byte array representing the Value We must
respect the ASN.1 BER encoding scheme :
- getBytes(long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Utility function that return a byte array representing the Value.
- getBytes(int) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Utility function that return a byte array representing the length
- getCurrentLength() - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
- getCurrentState() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
- getCurrentTLV() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the currentTLV
- getCurrentTLV() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the currentTLV
- getData() - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Get the Values'data
- getDecodeBytes() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- getDecodeBytes() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
- getExpectedLength() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Get the TLV expected length.
- getGrammar() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the grammar
- getGrammar() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the grammar
- getId() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getLength() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getLengthBytesRead() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getLengthNbBytes() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getMaxLengthLength() - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Get the actual maximum number of bytes that can be used to encode the
Length
- getMaxLengthLength() - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Get the actual maximum number of bytes that can be used to encode the
Length
- getMaxPDUSize() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- getMaxPDUSize() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
- getMaxTagLength() - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Get the actual maximum number of bytes that can be used to encode the Tag
- getMaxTagLength() - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Get the actual maximum number of bytes that can be used to encode the Tag
- getName() - Method in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Get the grammar name
- getName() - Method in interface org.apache.directory.api.asn1.ber.grammar.Grammar
-
Get the grammar name
- getNbBytes(int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Utility function that return the number of bytes necessary to store an
integer value.
- getNbBytes(long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Utility function that return the number of bytes necessary to store a
long value.
- getNbBytes(int) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Utility function that return the number of bytes necessary to store the
length
- getNewTlvId() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets a new TLV id
- getNewTlvId() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets a new TLV id
- getParent() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getParentTLV() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- getParentTLV() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
- getPreviousState() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
- getSize() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The TLV size is calculated by adding the Tag's size, the Length's size
and the Value's length, if any.
- getStartState() - Method in interface org.apache.directory.api.asn1.ber.grammar.States
-
- getState() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the current grammar state
- getState() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the current grammar state
- getStream() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the current stream containing the bytes to decode
- getStream() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the current stream containing the bytes to decode
- getTag() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getTlvId() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the current TLV id
- getTlvId() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the current TLV id
- getTransition() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Gets the transition
- getTransition() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Gets the transition
- getTransition(Enum<?>, int) - Method in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Get the transition associated with the state and tag
- getValue() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- getValue() - Method in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
- grammar - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
All the possible grammars
- Grammar<C extends Asn1Container> - Interface in org.apache.directory.api.asn1.ber.grammar
-
The interface which expose common behavior of a Grammar implementer.
- GrammarAction<C extends Asn1Container> - Class in org.apache.directory.api.asn1.ber.grammar
-
A top level grammar class that store meta informations about the actions.
- GrammarAction() - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarAction
-
A default constructor
- GrammarAction(String) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarAction
-
Creates a new GrammarAction object.
- GrammarTransition<C extends Asn1Container> - Class in org.apache.directory.api.asn1.ber.grammar
-
Define a transition between two states of a grammar.
- GrammarTransition(Enum<?>, Enum<?>, int, Action<C>) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum<?>, Enum<?>, int) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum<?>, Enum<?>, UniversalTag, Action<C>) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum<?>, Enum<?>, UniversalTag) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- incLengthBytesRead() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Increment the number of bytes read for this TLV
- incrementDecodeBytes(int) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Increment the decodedBytes by the latest received buffer's size.
- incrementDecodeBytes(int) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Increment the decodedBytes by the latest received buffer's size.
- init(int) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Initialize the Value
- IntegerDecoder - Class in org.apache.directory.api.asn1.ber.tlv
-
Parse and decode an Integer value.
- IntegerDecoder() - Constructor for class org.apache.directory.api.asn1.ber.tlv.IntegerDecoder
-
- IntegerDecoderException - Exception in org.apache.directory.api.asn1.ber.tlv
-
Thrown when a IntegerDecoder has encountered a failure condition during a
decode.
- IntegerDecoderException(String) - Constructor for exception org.apache.directory.api.asn1.ber.tlv.IntegerDecoderException
-
Creates a IntegerDecoderException
- isConstructed(byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Checks to see if the tag is constructed.
- isConstructed() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Checks to see if the current tlv's tag is constructed.
- isEndState() - Method in interface org.apache.directory.api.asn1.ber.grammar.States
-
- isGathering() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- isGathering() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
- isGrammarEndAllowed() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Checks that we can have a end state after this transition
- isGrammarEndAllowed() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Checks that we can have a end state after this transition
- isIndefiniteLengthAllowed() - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Tell if indefinite length form could be used for Length
- isIndefiniteLengthAllowed() - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Tell if indefinite length form could be used for Length
- isPrimitive(byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Checks to see if the tag represented by this Tag is primitive or
constructed.
- isUniversal(byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Tells if the tag is Universal or not
- setBitString(byte[], C) - Method in class org.apache.directory.api.asn1.actions.AbstractReadBitString
-
Gives a byte array to be set to the appropriate field of the ASN.1 object
present in the container
- setCurrentTLV(TLV) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the current TLV
- setCurrentTLV(TLV) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Sets the current TLV
- setData(ByteBuffer) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Set a block of bytes in the Value
- setData(byte[]) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Set a block of bytes in the Value
- setExpectedLength(int) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set the new expected length of the current TLV.
- setGathering(boolean) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Set the isGathering flag
- setGathering(boolean) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Set the isGathering flag
- setGrammarEndAllowed(boolean) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the flag to allow a end transition
- setGrammarEndAllowed(boolean) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Sets the flag to allow a end transition
- setIntegerValue(int, E) - Method in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
set the integer value to the appropriate field of ASN.1 object present in the container
- setLength(int) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set the TLV's length
- setLengthBytesRead(int) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set the currently read TLV's length bytes.
- setLengthNbBytes(int) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set the number of bytes we should use to store the TLV's length.
- setMaxLengthLength(int) - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Set the number of bytes that can be used to encode the Value length,
including the first byte.
- setMaxLengthLength(int) - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Set the number of bytes that can be used to encode the Value length,
including the first byte.
- setMaxPDUSize(int) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Set the maximum PDU size.
- setMaxPDUSize(int) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Set the maximum PDU size.
- setMaxTagLength(int) - Method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Set the maximum number of bytes that should be used to encode a Tag
label, including the first byte.
- setMaxTagLength(int) - Method in interface org.apache.directory.api.asn1.ber.tlv.TLVBerDecoderMBean
-
Set the maximum number of bytes that should be used to encode a Tag
label, including the first byte.
- setName(String) - Method in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Set the grammar's name
- setName(String) - Method in interface org.apache.directory.api.asn1.ber.grammar.Grammar
-
Set the grammar's name
- setOctetString(byte[], C) - Method in class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
Sets the OCTET STRING value to the appropriate field of ASN.1 object present in the container
- setParent(TLV) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
- setParentTLV(TLV) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the parent TLV
- setParentTLV(TLV) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Sets the parent TLV
- setState(TLVStateEnum) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the new current state
- setState(TLVStateEnum) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Sets the new current state
- setStream(ByteBuffer) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Stores the Stream being decoded
- setStream(ByteBuffer) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Stores the Stream being decoded
- setTag(byte) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set a tag value for this TLV.
- setTransition(Enum<?>) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Updates the transition from a state to another
- setTransition(Enum<?>) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Updates the transition from a state to another
- SHORT_MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
tag mask for the short tag format - 0001 1111 - 0x1F
- States - Interface in org.apache.directory.api.asn1.ber.grammar
-
Interface to get custom function from enum when casting.