Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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> - 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> - 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> - 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> - 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(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> - 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.
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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- BMP_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- BOOLEAN - Enum constant in enum 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.
- BooleanDecoderException - Exception Class 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 class org.apache.directory.api.asn1.ber.tlv.BooleanDecoderException
-
Creates a BooleanDecoderException
C
- CHARACTER_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- CheckNotNullLength<C> - 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
D
- decode(ByteBuffer, Asn1Container) - Static method in class org.apache.directory.api.asn1.ber.Asn1Decoder
-
The decoder main function.
E
- EMBEDDED_PDV - Enum constant in enum 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
- 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
- ENUMERATED - Enum constant in enum 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.
- EXTERNAL_INSTANCE_OF - Enum constant in enum 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
G
- GENERAL_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- GENERALIZED_TIME - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- getAction() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Get the transition's action
- 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
-
Get the current length
- getCurrentState() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Get the current state
- 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
-
Get the size of the decoded message
- getDecodedBytes() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Get the size of the decoded message
- 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
-
Get the TLV's ID
- getLength() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Get the TLV's length
- getLengthBytesRead() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Get the already read bytes
- getLengthNbBytes() - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Get the TLV's length
- 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
-
Get the maximum PDU size allowed
- getMaxPDUSize() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Get the maximum PDU size allowed
- 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
-
Get the TLV's parent
- getParentTLV() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Get the parent's TLV
- getParentTLV() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Get the parent's TLV
- getPreviousState() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Get the previous state
- 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
-
Get the starting state
- 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
-
Get the TLV's tag
- 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
-
Get the TLV's value part
- getValue() - Method in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
Get the UniversalTag value
- Grammar<C> - Interface in org.apache.directory.api.asn1.ber.grammar
-
The interface which expose common behavior of a Grammar implementer.
- GRAMMAR_END - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
The ending state
- Grammar.FollowUp - Enum in org.apache.directory.api.asn1.ber.grammar
-
The flag used to tell if a given state must have a follow up in the same PDU or not
- GrammarAction<C> - 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> - Class in org.apache.directory.api.asn1.ber.grammar
-
Define a transition between two states of a grammar.
- GrammarTransition(Enum, Enum, int, Action, Grammar.FollowUp) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum, Enum, int, Grammar.FollowUp) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum, Enum, UniversalTag, Action, Grammar.FollowUp) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GrammarTransition(Enum, Enum, UniversalTag, Grammar.FollowUp) - Constructor for class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Creates a new GrammarTransition object.
- GRAPHIC_STRING - Enum constant in enum 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.
- hasFollowUp() - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Get the followUp flag
I
- IA5_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- 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.
- init(int) - Method in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
Initialize the Value
- INTEGER - Enum constant in enum 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.
- IntegerDecoderException - Exception Class 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 class 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
-
Tells if this is an end state
- isGathering() - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Tells if the decoding should be done immediately or if the container should gather the data before
- isGathering() - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Tells if the decoding should be done immediately or if the container should gather the data before
- 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
L
- 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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Length is totally read
- LENGTH_STATE_PENDING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type length is contained in more that one byte
- LENGTH_STATE_START - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Start means that the decoding hasn't read the first byte
- LongDecoder - Class in org.apache.directory.api.asn1.ber.tlv
-
Parse and decode a Long value.
- LongDecoderException - Exception Class 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 class org.apache.directory.api.asn1.ber.tlv.LongDecoderException
-
Creates a LongDecoderException
M
- MANDATORY - Enum constant in enum org.apache.directory.api.asn1.ber.grammar.Grammar.FollowUp
-
When a following state is mandatory
N
- name - Variable in class org.apache.directory.api.asn1.ber.grammar.GrammarAction
-
The action's name
- NULL - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- NUMERIC_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
O
- OBJECT_DESCRIPTOR - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- OBJECT_IDENTIFIER - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- OCTET_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- OPTIONAL - Enum constant in enum org.apache.directory.api.asn1.ber.grammar.Grammar.FollowUp
-
When a following state is optional
- 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
- 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.
- parseLong(BerValue) - Static method in class org.apache.directory.api.asn1.ber.tlv.LongDecoder
-
Helper method used to parse the long.
- PDU_DECODED - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
The decoding of a PDU is done
- PRINTABLE_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
R
- REAL - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RELATIVE_OID - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_0 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_14 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_15 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- RESERVED_31 - Enum constant in enum 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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
SEQUENCE TAG
- SEQUENCE_SEQUENCE_OF - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- SET - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
SET TAG
- SET_SET_OF - Enum constant in enum 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
-
Set the size of the decoded messagz
- setDecodedBytes(int) - Method in interface org.apache.directory.api.asn1.ber.Asn1Container
-
Set the size of the decoded messagz
- setExpectedLength(int) - Method in class org.apache.directory.api.asn1.ber.tlv.TLV
-
Set the new expected length of the current TLV.
- setFollowUp(Grammar.FollowUp) - Method in class org.apache.directory.api.asn1.ber.grammar.GrammarTransition
-
Set the followUp flag
- 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) - Method in class org.apache.directory.api.asn1.ber.AbstractContainer
-
Sets the grammar
- setGrammar(Grammar) - 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
-
Set the TLV's parent
- 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.
T
- TAG_STATE_END - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Type is totally read
- TAG_STATE_OVERFLOW - Enum constant in enum 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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type Tag is contained in more that one byte
- TAG_STATE_START - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Start means that the deconding hasn't read the first byte
- TELETEX_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- 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 - Enum constant in enum 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.
- 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
- transitions - Variable in class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
-
Table of transitions.
- TRUE_VALUE - Static variable in class org.apache.directory.api.asn1.ber.tlv.BerValue
-
The encoded byte for a TRUE value
- 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 - Enum constant in enum 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.
- 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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- UTF8_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
V
- VALUE_STATE_END - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
End means that the Value is totally read
- VALUE_STATE_PENDING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.TLVStateEnum
-
Pending means that the Type Value is contained in more that one byte
- VALUE_STATE_START - Enum constant in enum 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.grammar.Grammar.FollowUp
-
Returns the enum constant of this type with the specified name.
- 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.grammar.Grammar.FollowUp
-
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.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 - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
- VISIBLE_STRING - Enum constant in enum org.apache.directory.api.asn1.ber.tlv.UniversalTag
-
value for the tag
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form