A B C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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 - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
The action associated to the transition
- action(C) - Method in class org.apache.directory.api.asn1.actions.AbstractReadBitString
-
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) - Method in interface org.apache.directory.api.asn1.ber.grammar.Action
-
The action to be executed.
- action(E) - Method in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
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.
- addData(byte[]) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Append some bytes to the data buffer.
- addData(ByteBuffer) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Append some bytes to the data buffer.
- 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.
B
- BerValue - Class in org.apache.directory.api.asn1.ber.tlv
-
This class stores the data decoded from a TLV.
- BerValue() - Constructor for class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The default constructor.
- BerValue(byte[]) - Constructor for class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Creates a new Value from a byte[]
- BIT_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- BMP_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- BOOLEAN - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- BooleanDecoder - Class in org.apache.directory.api.asn1.ber.tlv
-
Parse and decode a Boolean value.
- BooleanDecoder() - Constructor for class org.apache.directory.api.asn1.ber.tlv.BooleanDecoder
- BooleanDecoderException - Exception in org.apache.directory.api.asn1.ber.tlv
-
Thrown when a BooleanDecoder has encountered a failure condition during a decode.
- BooleanDecoderException(String) - Constructor for exception org.apache.directory.api.asn1.ber.tlv.BooleanDecoderException
-
Creates a BooleanDecoderException
C
- canBeNull - Variable in class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
the acceptable maximum value for the expected value to be parsed
- CHARACTER_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- CheckNotNullLength<C extends Asn1Container> - Class in org.apache.directory.api.asn1.actions
-
An action that checks the length is not null
- CheckNotNullLength() - Constructor for class org.apache.directory.api.asn1.actions.CheckNotNullLength
-
Instantiates the action.
- clean() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Clean the container for the next usage.
- CONSTRUCTED_FLAG - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
tag flag for the primitive/constructed bit - 0010 0000 - 0x20
- currentPos - Variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The current position of the last byte in the data buffer
- currentState - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
The current state
- currentTag - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
The current tag
D
- data - Variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The data buffer.
- decode(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The decoder main function.
- decodedBytes - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
A counter for the decoded bytes
- dumpTLVTree(Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Dump the current TLV tree
E
- EMBEDDED_PDV - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- encode(ByteBuffer, boolean) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a boolean value
- encode(ByteBuffer, byte[]) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OctetString value
- encode(ByteBuffer, byte, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value
- encode(ByteBuffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value
- encode(ByteBuffer, long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a long value
- encode(ByteBuffer, String) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a String value
- encode(ByteBuffer, BitString) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a BIT STRING value
- encode(ByteBuffer, Oid) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OID value
- encodeBoolean(Asn1Buffer, boolean) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a boolean value
- encodeBoolean(Asn1Buffer, byte, boolean) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a boolean value
- ENCODED_FALSE - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Pre-encoded PDUs for a FALSE TLV
- ENCODED_TRUE - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Pre-encoded PDUs for a TRUE TLV
- encodeEnumerated(ByteBuffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an enumerated value
- encodeEnumerated(Asn1Buffer, byte, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an enumerated value
- encodeEnumerated(Asn1Buffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an enumerated value
- encodeInteger(Asn1Buffer, byte, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value, with a specific tag
- encodeInteger(Asn1Buffer, byte, long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value, with a specific tag
- encodeInteger(Asn1Buffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value
- encodeInteger(Asn1Buffer, long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an integer value
- encodeOctetString(Asn1Buffer, byte[]) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OctetString
- encodeOctetString(Asn1Buffer, byte, byte[]) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OctetString
- encodeOctetString(Asn1Buffer, byte, String) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OctetString
- encodeOctetString(Asn1Buffer, String) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode an OctetString
- encodeSequence(Asn1Buffer) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Sequence
- encodeSequence(Asn1Buffer, byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Sequence, with a specific tag
- encodeSequence(Asn1Buffer, byte, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Sequence, with a specific length and tag
- encodeSequence(Asn1Buffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Sequence, with a specific length
- encodeSet(Asn1Buffer) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Set
- encodeSet(Asn1Buffer, byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Set, with a specific tag
- encodeSet(Asn1Buffer, byte, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Set, with a specific length and tag
- encodeSet(Asn1Buffer, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Encode a Set, with a specific length
- END - Static variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
This flag is used to indicate that there are no more bytes in the stream
- ENUMERATED - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- executeAction(C) - Method in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
This method, when called, execute an action on the current data stored in the container.
- executeAction(C) - Method in interface org.apache.directory.api.asn1.ber.grammar.Grammar
-
This method, when called, execute an action on the current data stored in the container.
- expectedLength - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The expected length of the TLV's elements, if the current TLV is a constructed TLV.
- EXTERNAL_INSTANCE_OF - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
F
- FALSE_VALUE - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The encoded byte for a FALSE value
- FIVE_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFFFFFFFF
- FIVE_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFFFFFFFF
- FOUR_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFFFFFF
- FOUR_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFFFFFF
G
- gathering - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
A flag telling if the Value should be accumulated before being decoded for constructed types
- GENERAL_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- GENERALIZED_TIME - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- 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(int) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Utility function that return a byte array representing the length
- getBytes(long) - Static method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Utility function that return a byte array representing the Value.
- 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
- getDecodedBytes() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- getDecodedBytes() - 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(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
- 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.
- 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
- getParentLength(TLV) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
A debug function used to dump the expected length stack.
- 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.
- GRAMMAR_END - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
The ending state
- 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.
- grammarEndAllowed - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The grammar end transition flag
- 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) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- 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<?>, UniversalTag) - 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.
- GRAPHIC_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
H
- hasAction() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Tells if the transition has an associated action.
I
- IA5_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- id - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The incremental id used to tag TLVs
- id - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
An identity for the TLV.
- incLengthBytesRead() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Increment the number of bytes read for this TLV
- incrementDecodedBytes(int) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Increment the decodedBytes by the latest received buffer's size.
- incrementDecodedBytes(int) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Increment the decodedBytes by the latest received buffer's size.
- indefiniteLengthAllowed - Variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Flag that is used to allow/disallow the indefinite form of Length
- init(int) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Initialize the Value
- INTEGER - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- 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() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Checks to see if the current tlv's tag is constructed.
- isConstructed(byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Checks to see if the 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.
- isTLVDecoded(Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Check if the TLV tree is fully decoded
- isUniversal(byte) - Static method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Tells if the tag is Universal or not
L
- length - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The current Length being processed
- LENGTH_EXTENSION_RESERVED - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Value of the reserved extension
- LENGTH_LONG_FORM - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
A mask to get the Length form
- LENGTH_SHORT_MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
A mask to get the long form value
- LENGTH_STATE_END - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Length is totally read
- LENGTH_STATE_PENDING - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type length is contained in more that one byte
- LENGTH_STATE_START - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Start means that the decoding hasn't read the first byte
- lengthBytesRead - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The number of length's bytes currently read
- lengthNbBytes - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The number of byte to store the Length being processed
- LOG - Static variable in class org.apache.directory.api.asn1.actions.AbstractReadBitString
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.actions.AbstractReadOctetString
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.actions.CheckNotNullLength
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
The logger
- LOG - Static variable in class org.apache.directory.api.asn1.ber.tlv.BooleanDecoder
-
The logger
- LongDecoder - Class in org.apache.directory.api.asn1.ber.tlv
-
Parse and decode a Long value.
- LongDecoder() - Constructor for class org.apache.directory.api.asn1.ber.tlv.LongDecoder
- LongDecoderException - Exception in org.apache.directory.api.asn1.ber.tlv
-
Thrown when a LongDecoder has encountered a failure condition during a decode.
- LongDecoderException(String) - Constructor for exception org.apache.directory.api.asn1.ber.tlv.LongDecoderException
-
Creates a LongDecoderException
M
- MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.IntegerDecoder
-
A mask used to get only the necessary bytes
- MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.LongDecoder
-
A mask used to get only the necessary bytes
- maxLengthLength - Variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The maximum number of bytes that could be used to encode the Length
- maxPDUSize - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The maximum allowed size for a PDU.
- maxTagLength - Variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The maximum number of bytes that could be used to encode the Tag
- maxValue - Variable in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
the acceptable maximum value for the expected value to be parsed
- minValue - Variable in class org.apache.directory.api.asn1.actions.AbstractReadInteger
-
the acceptable minimum value for the expected value to be parsed
- MORE - Static variable in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
This flag is used to indicate that there are more bytes in the stream
N
- name - Variable in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
The grammar name
- name - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarAction
-
The action's name
- NULL - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- NUMERIC_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
O
- OBJECT_DESCRIPTOR - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- OBJECT_IDENTIFIER - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- OCTET_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- ONE_BYTE - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
A speedup for single bytes length
- ONE_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7F
- ONE_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7F
- org.apache.directory.api.asn1.actions - package org.apache.directory.api.asn1.actions
- org.apache.directory.api.asn1.ber - package org.apache.directory.api.asn1.ber
- org.apache.directory.api.asn1.ber.grammar - package org.apache.directory.api.asn1.ber.grammar
- org.apache.directory.api.asn1.ber.tlv - package org.apache.directory.api.asn1.ber.tlv
P
- parent - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Reference the TLV which contains the current TLV, if any.
- parentTLV - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The parent TLV
- parse(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.BooleanDecoder
-
Parse a Value containing a byte[] and send back a boolean.
- parse(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.IntegerDecoder
-
Parse a byte buffer and send back an integer
- parse(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.LongDecoder
-
Parse a byte buffer and send back an integer
- parse(BerValue, int, int) - Static method in class org.apache.directory.api.asn1.ber.tlv.IntegerDecoder
-
Parse a byte buffer and send back an integer, controlling that this number is in a specified interval.
- parse(BerValue, long, long) - Static method in class org.apache.directory.api.asn1.ber.tlv.LongDecoder
-
Parse a byte buffer and send back an long, controlling that this number is in a specified interval.
- parseInt(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.IntegerDecoder
-
Helper method used to parse the integer.
- parseLong(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.LongDecoder
-
Helper method used to parse the long.
- PDU_DECODED - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
The decoding of a PDU is done
- previousState - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
The previous state
- PRINTABLE_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
R
- REAL - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RELATIVE_OID - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_0 - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_14 - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_15 - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_31 - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- reset() - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Reset the Value so that it can be reused
- reset() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Reset the TLV, so it can be reused for the next PDU decoding.
- rewind() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Move backward in the stream to the first byte for a given TLV.
- rewind() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Move backward in the stream to the first byte for a given TLV.
S
- SEQUENCE - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
SEQUENCE TAG
- SEQUENCE_SEQUENCE_OF - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- serialVersionUID - Static variable in exception org.apache.directory.api.asn1.ber.tlv.BooleanDecoderException
-
Declares the Serial Version Uid
- serialVersionUID - Static variable in exception org.apache.directory.api.asn1.ber.tlv.IntegerDecoderException
-
Declares the Serial Version Uid
- serialVersionUID - Static variable in exception org.apache.directory.api.asn1.ber.tlv.LongDecoderException
-
Declares the Serial Version Uid
- SET - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
SET TAG
- SET_SET_OF - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- 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(byte[]) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Set a block of bytes in the Value
- setData(ByteBuffer) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Set a block of bytes in the Value
- setDecodedBytes(int) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
- setDecodedBytes(int) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
- 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
- setGrammar(Grammar<? extends Asn1Container>) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the grammar
- setGrammar(Grammar<? extends Asn1Container>) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Sets the grammar
- 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.
- 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.
- 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
- SEVEN_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFFFFFFFFFF
- SEVEN_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFFFFFFFFFF
- SHORT_MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
tag mask for the short tag format - 0001 1111 - 0x1F
- SIX_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFFFFFFFFFF
- SIX_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFFFFFFFFFF
- state - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The current state of the decoding
- States - Interface in org.apache.directory.api.asn1.ber.grammar
-
Interface to get custom function from enum when casting.
- stream - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The Stream being decoded
T
- tag - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The current Tag being processed
- TAG_STATE_END - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Type is totally read
- TAG_STATE_OVERFLOW - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Overflow could have two meaning : either there are more than 5 bytes to encode the value (5 bytes = 5bits + 4*7 bits = 33 bits) or the value that is represented by those bytes is over MAX_INTEGER
- TAG_STATE_PENDING - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type Tag is contained in more that one byte
- TAG_STATE_START - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Start means that the deconding hasn't read the first byte
- TELETEX_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- THREE_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFFFF
- THREE_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFFFF
- tlv - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The current TLV
- TLV - Class in org.apache.directory.api.asn1.ber.tlv
-
This class is used to store Tags, Lengths and Values decoded from a PDU.
- TLV(int) - Constructor for class org.apache.directory.api.asn1.ber.tlv.TLV
-
Creates a new TLV object.
- TLV_STATE_DONE - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
The decoding of a TLV is done
- TLVBerDecoderMBean - Interface in org.apache.directory.api.asn1.ber.tlv
-
A MBean used to get stats on the decoding process.
- TLVStateEnum - Enum in org.apache.directory.api.asn1.ber.tlv
-
Stores the different states of a PDU parsing.
- TLVStateEnum() - Constructor for enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
- toString() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarAction
-
Prints the action's name
- toString() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
- toString() - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Return a string representing the Value
- toString() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Get a String representation of the TLV
- transition - Variable in class org.apache.directory.api.asn1.ber.AbstractContainer
-
The current transition
- transitions - Variable in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Table of transitions.
- treatLengthEndState(Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The Length is fully decoded.
- treatLengthPendingState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
This function is called when a Length is in the process of being decoded, but the lack of bytes in the buffer stopped the process.
- treatLengthStartState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Treat the Length start.
- treatTagStartState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Treat the start of a TLV.
- treatTLVDoneState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
When the TLV has been fully decoded, we have to execute the associated action and switch to the next TLV, which will start with a Tag.
- treatValuePendingState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Treat a pending Value when we get more bytes in the buffer.
- treatValueStartState(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
Treat the Value part.
- TRUE_VALUE - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The encoded byte for a TRUE value
- TWO_BYTE_MAX - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : 0x7FFF
- TWO_BYTE_MIN - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Integer limits for encoding : -0x7FFF
- TYPE_CLASS_MASK - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
mask to get the type class value
- TYPE_CLASS_UNIVERSAL - Static variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
value for the universal type class
U
- UNIVERSAL_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- UniversalTag - Enum in org.apache.directory.api.asn1.ber.tlv
-
Enum for ASN.1 UNIVERSAL class tags.
- UniversalTag(byte) - Constructor for enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
Creates a new instance of UniversalTag.
- updateParent() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Update the parent's length
- updateParent() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Update the parent's length
- UTC_TIME - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- UTF8_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
V
- value - Variable in class org.apache.directory.api.asn1.ber.tlv.TLV
-
The current Value being processed
- value - Variable in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
The internal value
- VALUE_STATE_END - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Value is totally read
- VALUE_STATE_PENDING - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type Value is contained in more that one byte
- VALUE_STATE_START - org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Start means that the decoding hasn't read the first byte
- valueOf(String) - Static method in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VIDEOTEX_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- VISIBLE_STRING - org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
All Classes All Packages