A B C D E F G H I L N O P R S T U V W

A

ASN1InputStream - class org.apache.directory.shared.asn1.der.ASN1InputStream.
General purpose ASN.1 decoder.
ASN1InputStream(ByteBuffer) - Constructor for class org.apache.directory.shared.asn1.der.ASN1InputStream
 
ASN1InputStream(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.ASN1InputStream
 
ASN1OutputStream - class org.apache.directory.shared.asn1.der.ASN1OutputStream.
 
ASN1OutputStream(OutputStream) - Constructor for class org.apache.directory.shared.asn1.der.ASN1OutputStream
 
ASN1OutputStream(ByteBuffer) - Constructor for class org.apache.directory.shared.asn1.der.ASN1OutputStream
 
AbstractContainer - class org.apache.directory.shared.asn1.ber.AbstractContainer.
This class is the abstract container used to store the current state of a PDU being decoded.
AbstractContainer() - Constructor for class org.apache.directory.shared.asn1.ber.AbstractContainer
 
AbstractGrammar - class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar.
The abstract IGrammar which is the Mother of all the grammars.
AbstractGrammar() - Constructor for class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Default constructor
AbstractStatefulDecoder - class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder.
Convenience class to not have to reimplement the two setter methods everytime one starts a new decoder.
AbstractStatefulDecoder() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder where the callback and monitor must be set.
AbstractStatefulDecoder(DecoderCallback) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder with a callback.
AbstractStatefulDecoder(DecoderMonitor) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder with a monitor but no callback.
AbstractStatefulDecoder(DecoderCallback, DecoderMonitor) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder.
AbstractStatefulEncoder - class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder.
Convenience class to not have to reimplement the two setter methods everytime one starts a new encoder.
AbstractStatefulEncoder() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder where the callback and monitor must be set.
AbstractStatefulEncoder(EncoderCallback) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder with a callback.
AbstractStatefulEncoder(EncoderMonitor) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder with a monitor but no callback.
AbstractStatefulEncoder(EncoderCallback, EncoderMonitor) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder.
Asn1Decoder - class org.apache.directory.shared.asn1.ber.Asn1Decoder.
A BER TLV Tag component decoder.
Asn1Decoder() - Constructor for class org.apache.directory.shared.asn1.ber.Asn1Decoder
A public constructor of an Asn1 Decoder.
Asn1Object - class org.apache.directory.shared.asn1.Asn1Object.
An abstract class which implements basic TLV operations.
Asn1Object() - Constructor for class org.apache.directory.shared.asn1.Asn1Object
 
Asn1StringUtils - class org.apache.directory.shared.asn1.util.Asn1StringUtils.
Little helper class.
Asn1StringUtils() - Constructor for class org.apache.directory.shared.asn1.util.Asn1StringUtils
 
action(IAsn1Container) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IAction
The action to be executed.
add(DEREncodable) - Method in class org.apache.directory.shared.asn1.der.DERSequence
 
add(DEREncodable) - Method in class org.apache.directory.shared.asn1.der.DERSet
 
addData(ByteBuffer) - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Append some bytes to the data buffer.
addData(byte[]) - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Append some bytes to the data buffer.
addLength(int) - Method in class org.apache.directory.shared.asn1.Asn1Object
Add a length to the object
allowIndefiniteLength() - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Allow indefinite length.
allowIndefiniteLength() - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Allow indefinite length.

B

BERConstructedOctetString - class org.apache.directory.shared.asn1.der.BERConstructedOctetString.
 
BERConstructedOctetString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.BERConstructedOctetString
 
BERConstructedOctetString(Vector) - Constructor for class org.apache.directory.shared.asn1.der.BERConstructedOctetString
 
BERNull - class org.apache.directory.shared.asn1.der.BERNull.
A BER NULL object.
BERNull() - Constructor for class org.apache.directory.shared.asn1.der.BERNull
 
BERSequence - class org.apache.directory.shared.asn1.der.BERSequence.
 
BERSequence() - Constructor for class org.apache.directory.shared.asn1.der.BERSequence
 
BERSet - class org.apache.directory.shared.asn1.der.BERSet.
 
BERSet() - Constructor for class org.apache.directory.shared.asn1.der.BERSet
 
BERTaggedObject - class org.apache.directory.shared.asn1.der.BERTaggedObject.
BER TaggedObject
BERTaggedObject(int, DEREncodable) - Constructor for class org.apache.directory.shared.asn1.der.BERTaggedObject
 
BERTaggedObject(boolean, int, DEREncodable) - Constructor for class org.apache.directory.shared.asn1.der.BERTaggedObject
 
BIT_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
BMP_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
BOOLEAN - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
BOOLEAN_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
ASN.1 primitive tag values
BinaryCodec - class org.apache.directory.shared.asn1.codec.binary.BinaryCodec.
Translates between byte arrays and strings of "0"s and "1"s.
BinaryCodec() - Constructor for class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
 
BinaryDecoder - interface org.apache.directory.shared.asn1.codec.BinaryDecoder.
Defines common decoding methods for byte array decoders.
BinaryEncoder - interface org.apache.directory.shared.asn1.codec.BinaryEncoder.
Defines common encoding methods for byte array encoders.
BitString - class org.apache.directory.shared.asn1.primitives.BitString.
Implement the Bit String primitive type.
BitString() - Constructor for class org.apache.directory.shared.asn1.primitives.BitString
Creates a BitString, with a default length.
BitString(int) - Constructor for class org.apache.directory.shared.asn1.primitives.BitString
Creates a BitString with a specific length (length is the number of bytes).
BitString(int, boolean) - Constructor for class org.apache.directory.shared.asn1.primitives.BitString
Creates a streamed BitString with a specific length.
BitString(byte[]) - Constructor for class org.apache.directory.shared.asn1.primitives.BitString
Creates a BitString with a value.
BooleanDecoder - class org.apache.directory.shared.asn1.util.BooleanDecoder.
Parse and decode a Boolean value.
BooleanDecoder() - Constructor for class org.apache.directory.shared.asn1.util.BooleanDecoder
 
BooleanDecoderException - exception org.apache.directory.shared.asn1.util.BooleanDecoderException.
Thrown when a BooleanDecoderException has encountered a failure condition during a decode.
BooleanDecoderException(String) - Constructor for class org.apache.directory.shared.asn1.util.BooleanDecoderException
Creates a BooleanDecoderException
buildObject(int, byte[]) - Method in class org.apache.directory.shared.asn1.der.ASN1InputStream
Build an object given its tag and a byte stream.
byteArrayToString(byte[]) - Static method in class org.apache.directory.shared.asn1.der.DERString
Utility method for converting byte arrays to Strings.

C

CHARACTER_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
CONSTRUCTED_FLAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
tag flag for the primitive/constructed bit - 0010 0000 - 0x20
CallbackHistory - class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory.
A convenience callback which collects decoded or encoded objects to audit a codecs's activity.
CallbackHistory() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Creates an auditing callback that manages a history of indefinite length.
CallbackHistory(int) - Constructor for class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Creates an auditing callback that manages a history of fixed or indefinite length.
callbackOccured(StatefulDecoder, DecoderCallback, Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor
Monitors callbacks that deliver a fully decoded object.
callbackOccured(StatefulDecoder, DecoderCallback, Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
callbackOccured(StatefulEncoder, EncoderCallback, Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Monitors callbacks that deliver a fully decoded object.
callbackOccured(StatefulEncoder, EncoderCallback, Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
Monitors callbacks that deliver a fully decoded object.
callbackSet(StatefulDecoder, DecoderCallback, DecoderCallback) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor
Monitors changes to the callback.
callbackSet(StatefulDecoder, DecoderCallback, DecoderCallback) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
callbackSet(StatefulEncoder, EncoderCallback, EncoderCallback) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Monitors changes to the callback.
callbackSet(StatefulEncoder, EncoderCallback, EncoderCallback) - Method in class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
Monitors changes to the callback.
clean() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Clean the container for the next usage.
clear() - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Clears the history of decoded items.
clear() - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Clears the stack popping all decoders setting their callbacks to null.
clone() - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Clone the Value
computeLength() - Method in class org.apache.directory.shared.asn1.Asn1Object
Compute the object length, which is the sum of all inner length.
createDecoder() - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderFactory
Creates a chunking state based decoder.
createEncoder() - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderFactory
Creates a new chunking state based encoder.

D

DERApplicationSpecific - class org.apache.directory.shared.asn1.der.DERApplicationSpecific.
DER Application Specific object.
DERApplicationSpecific(int, byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERApplicationSpecific
Basic DERObject constructor.
DERBMPString - class org.apache.directory.shared.asn1.der.DERBMPString.
DER BMPString object.
DERBMPString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERBMPString
Basic DERObject constructor.
DERBitString - class org.apache.directory.shared.asn1.der.DERBitString.
DER Bit String object.
DERBitString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERBitString
Basic DERObject constructor.
DERBoolean - class org.apache.directory.shared.asn1.der.DERBoolean.
DER Boolean object.
DERBoolean(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERBoolean
Basic DERObject constructor.
DEREncodable - interface org.apache.directory.shared.asn1.der.DEREncodable.
Interface for encodable DER objects.
DEREnumerated - class org.apache.directory.shared.asn1.der.DEREnumerated.
DER Enumerated object.
DEREnumerated(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DEREnumerated
Basic DERObject constructor.
DERGeneralString - class org.apache.directory.shared.asn1.der.DERGeneralString.
 
DERGeneralizedTime - class org.apache.directory.shared.asn1.der.DERGeneralizedTime.
DER Generalized time object.
DERIA5String - class org.apache.directory.shared.asn1.der.DERIA5String.
DER IA5String object.
DERInteger - class org.apache.directory.shared.asn1.der.DERInteger.
DER Integer object.
DERNull - class org.apache.directory.shared.asn1.der.DERNull.
A NULL object.
DERNull() - Constructor for class org.apache.directory.shared.asn1.der.DERNull
 
DERNumericString - class org.apache.directory.shared.asn1.der.DERNumericString.
DER NumericString - a string of ASCII numeric characters { 0,1,2,3,4,5,6,7,8,9 }.
DERObject - class org.apache.directory.shared.asn1.der.DERObject.
DER object.
DERObject(int, byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERObject
Basic DERObject constructor.
DERObjectIdentifier - class org.apache.directory.shared.asn1.der.DERObjectIdentifier.
 
DEROctetString - class org.apache.directory.shared.asn1.der.DEROctetString.
DER Octet String object.
DEROctetString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DEROctetString
Basic DERObject constructor.
DERPrintableString - class org.apache.directory.shared.asn1.der.DERPrintableString.
DER PrintableString object.
DERPrintableString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERPrintableString
Basic DERObject constructor.
DERSequence - class org.apache.directory.shared.asn1.der.DERSequence.
 
DERSequence() - Constructor for class org.apache.directory.shared.asn1.der.DERSequence
 
DERSet - class org.apache.directory.shared.asn1.der.DERSet.
A DER encoded set object
DERSet() - Constructor for class org.apache.directory.shared.asn1.der.DERSet
 
DERString - class org.apache.directory.shared.asn1.der.DERString.
Interface for DER string objects.
DERTaggedObject - class org.apache.directory.shared.asn1.der.DERTaggedObject.
DER TaggedObject
DERTaggedObject(int) - Constructor for class org.apache.directory.shared.asn1.der.DERTaggedObject
create an implicitly tagged object that contains a zero length sequence.
DERTaggedObject(int, DEREncodable) - Constructor for class org.apache.directory.shared.asn1.der.DERTaggedObject
 
DERTaggedObject(boolean, int, DEREncodable) - Constructor for class org.apache.directory.shared.asn1.der.DERTaggedObject
 
DERTaggedObject(boolean, int, DEREncodable, byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERTaggedObject
 
DERTeletexString - class org.apache.directory.shared.asn1.der.DERTeletexString.
DER Teletex String
DERTeletexString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERTeletexString
Basic DERObject constructor.
DERUTCTime - class org.apache.directory.shared.asn1.der.DERUTCTime.
DER UTC time object.
DERUTCTime(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERUTCTime
Basic DERObject constructor.
DERUTF8String - class org.apache.directory.shared.asn1.der.DERUTF8String.
DER UTF8String object.
DERUTF8String(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERUTF8String
Basic DERObject constructor.
DERUniversalString - class org.apache.directory.shared.asn1.der.DERUniversalString.
DER UniversalString object.
DERUniversalString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERUniversalString
Basic DERObject constructor.
DERUnknownTag - class org.apache.directory.shared.asn1.der.DERUnknownTag.
Placeholder for unrecognized tags.
DERUnknownTag(int, byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERUnknownTag
Basic DERObject constructor.
DERVisibleString - class org.apache.directory.shared.asn1.der.DERVisibleString.
DER VisibleString object.
DERVisibleString(byte[]) - Constructor for class org.apache.directory.shared.asn1.der.DERVisibleString
Basic DERObject constructor.
Decoder - interface org.apache.directory.shared.asn1.codec.Decoder.
Provides the highest level of abstraction for Decoders.
DecoderCallback - interface org.apache.directory.shared.asn1.codec.stateful.DecoderCallback.
Callback interface for stateful decoder callbacks.
DecoderException - exception org.apache.directory.shared.asn1.codec.DecoderException.
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for class org.apache.directory.shared.asn1.codec.DecoderException
Creates a DecoderException
DecoderException(String, Throwable) - Constructor for class org.apache.directory.shared.asn1.codec.DecoderException
Creates a DecoderException
DecoderFactory - interface org.apache.directory.shared.asn1.codec.stateful.DecoderFactory.
A factory for creating new StatefulDecoders.
DecoderMonitor - interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor.
Monitors decoder activity.
DecoderMonitorAdapter - class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter.
A do nothing decoder monitor adapter.
DecoderMonitorAdapter() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
DecoderStack - class org.apache.directory.shared.asn1.codec.stateful.DecoderStack.
A stack of decoders used for the additive application of multiple decoders forming a linear staged decoder pipeline.
DecoderStack() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Creates an empty stack of chained decoders.
decode(ByteBuffer, IAsn1Container) - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
The decoder main function.
decode(byte[]) - Method in interface org.apache.directory.shared.asn1.codec.BinaryDecoder
Decodes a byte array and returns the results as a byte array.
decode(Object) - Method in interface org.apache.directory.shared.asn1.codec.Decoder
Decodes an "encoded" Object and returns a "decoded" Object.
decode(Object) - Method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.
decode(byte[]) - Method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.
decode(byte[]) - Method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts an array of character bytes representing hexidecimal values into an array of bytes of those same values.
decode(Object) - Method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts a String or an array of character bytes representing hexidecimal values into an array of bytes of those same values.
decode(Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Decodes an encoded object by calling decode on the decoder at the bottom of the stack.
decode(Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder
Decodes a peice of encoded data.
decode(Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.examples.HexDecoder
 
decodeHex(char[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts an array of characters representing hexidecimal values into an array of bytes of those same values.
decodeOccurred(Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Notifies via the callback if one has been set that this decoder has decoded a unit of encoded data.
decodeOccurred(StatefulDecoder, Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
 
decodeOccurred(StatefulDecoder, Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderCallback
Callback to deliver a fully decoded object.
disallowIndefiniteLength() - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Disallow indefinite length.
disallowIndefiniteLength() - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Disallow indefinite length.
dumpByte(byte) - Static method in class org.apache.directory.shared.asn1.util.Asn1StringUtils
Helper function that dump a byte in hex form
dumpBytes(byte[]) - Static method in class org.apache.directory.shared.asn1.util.Asn1StringUtils
Helper function that dump an array of bytes in hex form

E

EMBEDDED_PDV - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
EMPTY_STRING - Static variable in class org.apache.directory.shared.asn1.primitives.BitString
A null MutableString
END_STATE - Static variable in interface org.apache.directory.shared.asn1.ber.grammar.IStates
The END_STATE
ENUMERATED - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
ENUMERATED_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 
EXTERNAL_INSTANCE_OF - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
Encoder - interface org.apache.directory.shared.asn1.codec.Encoder.
Provides the highest level of abstraction for Encoders.
EncoderCallback - interface org.apache.directory.shared.asn1.codec.stateful.EncoderCallback.
Document me.
EncoderException - exception org.apache.directory.shared.asn1.codec.EncoderException.
Thrown when there is a failure condition during the encoding process.
EncoderException(String) - Constructor for class org.apache.directory.shared.asn1.codec.EncoderException
Creates a new instance of this exception with an useful message.
EncoderFactory - interface org.apache.directory.shared.asn1.codec.stateful.EncoderFactory.
A factory for creating new StatefulEncoders.
EncoderMonitor - interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor.
Document me.
EncoderMonitorAdapter - class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter.
Document me.
EncoderMonitorAdapter() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
 
empty - Variable in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
encode(ByteBuffer) - Method in class org.apache.directory.shared.asn1.Asn1Object
Encode the object to a PDU.
encode(ByteBuffer, String) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode a String value
encode(ByteBuffer, byte[]) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode an OctetString value
encode(ByteBuffer, OID) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode an OID value
encode(ByteBuffer, int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode an integer value
encode(ByteBuffer, byte, int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode an integer value
encode(ByteBuffer, boolean) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode a boolean value
encode(byte[]) - Method in interface org.apache.directory.shared.asn1.codec.BinaryEncoder
Encodes a byte array and return the encoded data as a byte array.
encode(Object) - Method in interface org.apache.directory.shared.asn1.codec.Encoder
Encodes an "Object" and returns the encoded content as an Object.
encode(byte[]) - Method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 characters.
encode(Object) - Method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 chars.
encode(byte[]) - Method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts an array of bytes into an array of bytes for the characters representing the hexidecimal values of each byte in order.
encode(Object) - Method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts a String or an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
encode(Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulEncoder
 
encode(Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.examples.HexEncoder
Transforms a decoded ByteArray of binary data into a stream of ASCII hex characters.
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.BERConstructedOctetString
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.BERNull
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.BERSequence
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.BERSet
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.BERTaggedObject
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERApplicationSpecific
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERBitString
 
encode(ASN1OutputStream) - Method in interface org.apache.directory.shared.asn1.der.DEREncodable
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERObject
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERObjectIdentifier
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERSequence
As DER requires the constructed, definite-length model to be used for structured types, this varies slightly from the ASN.1 descriptions given.
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERSet
 
encode(ASN1OutputStream) - Method in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
encodeEnumerated(ByteBuffer, int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Encode an enumerated value
encodeHex(byte[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
encodeOccurred(Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Notifies via the callback if one has been set that this encoder has encoded a unit of encoded data.
encodeOccurred(StatefulEncoder, Object) - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Callback to deliver a fully encoded object.
encodeOccurred(StatefulEncoder, Object) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderCallback
Callback to deliver a fully encoded object.
equals(Object) - Method in class org.apache.directory.shared.asn1.der.DERObject
Two DERObjects are equal if their underlying byte arrays are equal.
error(StatefulDecoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor
Receive notification of a recoverable error.
error(StatefulDecoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
error(StatefulEncoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Receive notification of a recoverable error.
error(StatefulEncoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a recoverable error.
executeAction(IAsn1Container) - Method in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
The main function.
executeAction(IAsn1Container) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IGrammar
This method, when called, execute an action on the current data stored in the container.
explicit - Variable in class org.apache.directory.shared.asn1.der.DERTaggedObject
 

F

FALSE - Static variable in class org.apache.directory.shared.asn1.der.DERBoolean
 
FALSE_VALUE - Static variable in class org.apache.directory.shared.asn1.ber.tlv.Value
The encoded byte for a FALSE value
fatalError(StatefulDecoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor
Receive notification of a non-recoverable error.
fatalError(StatefulDecoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
fatalError(StatefulEncoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Receive notification of a non-recoverable error.
fatalError(StatefulEncoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a non-recoverable error.
fromAscii(char[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Decodes a byte array where each char represents an ascii '0' or '1'.
fromAscii(byte[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.

G

GENERALIZED_TIME - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
GENERAL_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
GRAMMAR_END - Static variable in interface org.apache.directory.shared.asn1.ber.grammar.IStates
The ending state for every grammars
GRAPHIC_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
GrammarAction - class org.apache.directory.shared.asn1.ber.grammar.GrammarAction.
A top level grammar class that store meta informations about the actions.
GrammarAction() - Constructor for class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
A default constructor
GrammarAction(String) - Constructor for class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
Creates a new GrammarAction object.
GrammarTransition - class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition.
Define a transition between two states of a grammar.
GrammarTransition(int, int, int, IAction) - Constructor for class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
Creates a new GrammarTransition object.
get(int) - Method in class org.apache.directory.shared.asn1.der.DERSequence
 
getAction() - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
 
getApplicationTag() - Method in class org.apache.directory.shared.asn1.der.DERApplicationSpecific
 
getBit(int) - Method in class org.apache.directory.shared.asn1.primitives.BitString
Get the bit stored into the BitString at a specific position? The position start at 0, which is on the left : With '1001 000x', where x is an unused bit, ^ ^ ^^ | | || | | |+---- getBit(7) -> DecoderException | | +----- getBit(6) = 0 | +---------- getBit(2) = 0 +------------ getBit(0) = 1
getBytes(int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Utility function that return a byte array representing the length
getBytes(int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Utility function that return a byte array representing the Value We must respect the ASN.1 BER encoding scheme : 1) positive integer - [0 - 0x7F] : 0xVV - [0x80 - 0xFF] : 0x00 0xVV - [0x0100 - 0x7FFF] : 0xVV 0xVV - [0x8000 - 0xFFFF] : 0x00 0xVV 0xVV - [0x010000 - 0x7FFFFF] : 0xVV 0xVV 0xVV - [0x800000 - 0xFFFFFF] : 0x00 0xVV 0xVV 0xVV - [0x01000000 - 0x7FFFFFFF] : 0xVV 0xVV 0xVV 0xVV - [0x80000000 - 0xFFFFFFFF] : 0x00 0xVV 0xVV 0xVV 0xVV 2) Negative number - (~value) + 1
getBytesUtf8(String) - Static method in class org.apache.directory.shared.asn1.util.Asn1StringUtils
Return UTF-8 encoded byte[] representation of a String
getCurrentLength() - Method in class org.apache.directory.shared.asn1.Asn1Object
Get the current object length, which is the sum of all inner length already decoded.
getCurrentLength() - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
 
getCurrentState() - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
 
getCurrentTLV() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the current TLV
getCurrentTLV() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Get the currentTLV
getData() - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Get the Values'data
getData() - Method in class org.apache.directory.shared.asn1.primitives.BitString
Get the representation of a BitString
getDate() - Method in class org.apache.directory.shared.asn1.der.DERGeneralizedTime
Lazy accessor
getDate() - Method in class org.apache.directory.shared.asn1.der.DERUTCTime
Lazy accessor
getDecoderMonitor() - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
Gets the decoder's monitor.
getEncoderMonitor() - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
Gets the encoder's monitor.
getExpectedLength() - Method in class org.apache.directory.shared.asn1.Asn1Object
Get the expected object length.
getExpectedLength() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Get the TLV expected length.
getGrammar() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the current grammar
getGrammar() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Get the grammar
getGrammarName(IGrammar) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IStates
Return the grammar name from a grammar
getGrammarName(int) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IStates
Return the grammar name from a grammar number
getLength() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
getLengthBytesRead() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
getLengthNbBytes() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
getMaxLengthLength() - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Get the length's Length.
getMaxLengthLength() - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Get the actual maximum number of bytes that can be used to encode the Length
getMaxTagLength() - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Get the maximum Tag's length
getMaxTagLength() - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Get the actual maximum number of bytes that can be used to encode the Tag
getMostRecent() - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Gets the most recent decoded object if one exists.
getName() - Method in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Return the grammar's name
getName() - Method in interface org.apache.directory.shared.asn1.ber.grammar.IGrammar
Get the grammar name
getNbBytes(int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Utility function that return the number of bytes necessary to store the length
getNbBytes(int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.Value
Utility function that return the number of bytes necessary to store an integer value.
getOID() - Method in class org.apache.directory.shared.asn1.primitives.OID
Get an array of bytes from the OID
getOIDLength() - Method in class org.apache.directory.shared.asn1.primitives.OID
Get the number of bytes necessary to store the OID
getOIDValues() - Method in class org.apache.directory.shared.asn1.primitives.OID
Get an array of int from the OID
getObject() - Method in class org.apache.directory.shared.asn1.der.DERApplicationSpecific
 
getObject() - Method in class org.apache.directory.shared.asn1.der.DERTaggedObject
return whatever was following the tag.
getObjectAt(int) - Method in class org.apache.directory.shared.asn1.der.DERSet
 
getObjects() - Method in class org.apache.directory.shared.asn1.der.BERConstructedOctetString
 
getObjects() - Method in class org.apache.directory.shared.asn1.der.DERSequence
 
getObjects() - Method in class org.apache.directory.shared.asn1.der.DERSet
 
getOctets() - Method in class org.apache.directory.shared.asn1.der.DERBitString
 
getOctets() - Method in class org.apache.directory.shared.asn1.der.DEROctetString
 
getOctets() - Method in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
getOldest() - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Gets the oldest decoded object if one exists.
getParent() - Method in class org.apache.directory.shared.asn1.Asn1Object
Get the parent
getParent() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
getParentTLV() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the parent TLV;
getParentTLV() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
 
getPreviousState() - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
 
getSize() - Method in class org.apache.directory.shared.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.
getState() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the current grammar state
getState() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Get the current grammar state
getState(int) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IStates
Get the current state
getStates() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the states for this container's grammars
getStates() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
 
getStatesEnum() - Method in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Get the states of the current grammar
getStatesEnum() - Method in interface org.apache.directory.shared.asn1.ber.grammar.IGrammar
Get the statesEnum for the current grammar
getString() - Method in class org.apache.directory.shared.asn1.der.DERBMPString
 
getString() - Method in class org.apache.directory.shared.asn1.der.DERString
Lazy accessor.
getString() - Method in class org.apache.directory.shared.asn1.der.DERUniversalString
 
getTag() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
getTagNo() - Method in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
getTransition() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Get the transition
getTransition() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Get the transition
getTransition(int, int) - Method in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Get the transition associated with the state and tag
getUnusedBits() - Method in class org.apache.directory.shared.asn1.primitives.BitString
Get the number of unused bits
getValue() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
grammar - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
All the possible grammars
grammarEndAllowed - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
The grammar end transition flag
grammarEndAllowed(boolean) - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Set the flag to allow a end transition
grammarEndAllowed(boolean) - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Set the flag to allow a end transition

H

Hex - class org.apache.directory.shared.asn1.codec.binary.Hex.
Hex encoder and decoder.
Hex() - Constructor for class org.apache.directory.shared.asn1.codec.binary.Hex
 
HexDecoder - class org.apache.directory.shared.asn1.codec.stateful.examples.HexDecoder.
Document me.
HexDecoder() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.examples.HexDecoder
 
HexEncoder - class org.apache.directory.shared.asn1.codec.stateful.examples.HexEncoder.
Document me.
HexEncoder() - Constructor for class org.apache.directory.shared.asn1.codec.stateful.examples.HexEncoder
 
hasAction() - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
Tells if the transition has an associated action.
hasMoreTokens() - Method in class org.apache.directory.shared.asn1.der.OIDTokenizer
 
hashCode() - Method in class org.apache.directory.shared.asn1.der.DERObject
Fast rotate left and XOR hashcode generator.

I

IA5_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
IAction - interface org.apache.directory.shared.asn1.ber.grammar.IAction.
IAction interface just contains the method 'action' which must be implemented in all the implementong classes.
IAsn1Container - interface org.apache.directory.shared.asn1.ber.IAsn1Container.
Every ASN1 container must implement this interface.
IGrammar - interface org.apache.directory.shared.asn1.ber.grammar.IGrammar.
The interface which expose common behavior of a Gramar implementer.
INIT_GRAMMAR_STATE - Static variable in interface org.apache.directory.shared.asn1.ber.grammar.IStates
The initial state of every grammar
INSTANCE - Static variable in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Use this if you don't want to recreate this as just a NOOP monitor
INTEGER - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
INTEGER_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 
IStates - interface org.apache.directory.shared.asn1.ber.grammar.IStates.
This interface is used to store the different states of a grammar.
ITLVBerDecoderMBean - interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean.
 
IntegerDecoder - class org.apache.directory.shared.asn1.util.IntegerDecoder.
Parse and decode an Integer value.
IntegerDecoder() - Constructor for class org.apache.directory.shared.asn1.util.IntegerDecoder
 
IntegerDecoderException - exception org.apache.directory.shared.asn1.util.IntegerDecoderException.
Thrown when a IntegerDecoder has encountered a failure condition during a decode.
IntegerDecoderException(String) - Constructor for class org.apache.directory.shared.asn1.util.IntegerDecoderException
Creates a IntegerDecoderException
incLengthBytesRead() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
init(int) - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Initialize the Value
intValue() - Method in class org.apache.directory.shared.asn1.der.DEREnumerated
Lazy accessor
intValue() - Method in class org.apache.directory.shared.asn1.der.DERInteger
Lazy accessor
isConstructed(byte) - Static method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Checks to see if the tag is constructed.
isConstructed() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Checks to see if the current tlv's tag is constructed.
isEmpty() - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Tests to see if the history is empty.
isEmpty() - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Gets whether or not this stack is empty.
isGrammarEndAllowed() - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Check that we can have a end state after this transition
isGrammarEndAllowed() - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Check that we can have a end state after this transition
isIndefiniteLengthAllowed() - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Tells if indefinite length form could be used for Length
isIndefiniteLengthAllowed() - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Tell if indefinite length form could be used for Length
isOID(String) - Static method in class org.apache.directory.shared.asn1.primitives.OID
Check that an OID is valid
isPrimitive(byte) - Static method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Checks to see if the tag represented by this Tag is primitive or constructed.
isStreamed() - Method in class org.apache.directory.shared.asn1.primitives.BitString
Tells if the OctetString is streamed or not
isTrue() - Method in class org.apache.directory.shared.asn1.der.DERBoolean
Lazy accessor
isUniversal(byte) - Static method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Tells if the tag is Universal or not

L

LENGTH_EXTENSION_RESERVED - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
Value of the reserved extension
LENGTH_LONG_FORM - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
A mask to get the Length form
LENGTH_SHORT_MASK - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
A mask to get the long form value
LENGTH_STATE_END - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
End means that the Length is totally read
LENGTH_STATE_PENDING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Pending means that the Type length is contained in more that one byte
LENGTH_STATE_START - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Start means that the decoding hasn't read the first byte

N

NULL - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
NUMERIC_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
name - Variable in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
The grammar name
name - Variable in class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
The action's name
newOutputStream(ByteBuffer) - Static method in class org.apache.directory.shared.asn1.der.ASN1OutputStream
 
nextToken() - Method in class org.apache.directory.shared.asn1.der.OIDTokenizer
 

O

OBJECT_DESCRIPTOR - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
OBJECT_IDENTIFIER - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
OCTET_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
OCTET_STRING_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 
OID - class org.apache.directory.shared.asn1.primitives.OID.
This class implement an OID (Object Identifier).
OID() - Constructor for class org.apache.directory.shared.asn1.primitives.OID
Creates a new OID object.
OID(byte[]) - Constructor for class org.apache.directory.shared.asn1.primitives.OID
Create a new OID object from a byte array
OID(String) - Constructor for class org.apache.directory.shared.asn1.primitives.OID
Create a new OID object from a String
OIDTokenizer - class org.apache.directory.shared.asn1.der.OIDTokenizer.
class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer.
OIDTokenizer(String) - Constructor for class org.apache.directory.shared.asn1.der.OIDTokenizer
 
obj - Variable in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
org.apache.directory.shared.asn1 - package org.apache.directory.shared.asn1
 
org.apache.directory.shared.asn1.ber - package org.apache.directory.shared.asn1.ber
 
org.apache.directory.shared.asn1.ber.grammar - package org.apache.directory.shared.asn1.ber.grammar
 
org.apache.directory.shared.asn1.ber.tlv - package org.apache.directory.shared.asn1.ber.tlv
 
org.apache.directory.shared.asn1.codec - package org.apache.directory.shared.asn1.codec
 
org.apache.directory.shared.asn1.codec.binary - package org.apache.directory.shared.asn1.codec.binary
 
org.apache.directory.shared.asn1.codec.stateful - package org.apache.directory.shared.asn1.codec.stateful
Provides the fundamental stateful codec interfaces.
org.apache.directory.shared.asn1.codec.stateful.examples - package org.apache.directory.shared.asn1.codec.stateful.examples
 
org.apache.directory.shared.asn1.der - package org.apache.directory.shared.asn1.der
 
org.apache.directory.shared.asn1.primitives - package org.apache.directory.shared.asn1.primitives
 
org.apache.directory.shared.asn1.util - package org.apache.directory.shared.asn1.util
 

P

PDU_DECODED - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
The decoding of a PDU is done
PRINTABLE_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
parent - Variable in class org.apache.directory.shared.asn1.Asn1Object
The encapsulating Object
parentTLV - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
The parent TLV
parse(Value) - Static method in class org.apache.directory.shared.asn1.util.BooleanDecoder
Parse a byte buffer and send back a booelan.
parse(Value, int, int) - Static method in class org.apache.directory.shared.asn1.util.IntegerDecoder
Parse a byte buffer and send back an integer, controling that this number is in a specified interval.
parse(Value) - Static method in class org.apache.directory.shared.asn1.util.IntegerDecoder
Parse a byte buffer and send back an integer
pop() - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Pops the terminal decoder off of this DecoderStack.
push(StatefulDecoder) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderStack
Pushs a new terminal decoder onto the top of this DecoderStack.

R

REAL - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
RELATIVE_OID - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
RESERVED_0 - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
RESERVED_14 - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
RESERVED_15 - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
RESERVED_31 - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
readFully(byte[]) - Method in class org.apache.directory.shared.asn1.der.ASN1InputStream
 
readLength() - Method in class org.apache.directory.shared.asn1.der.ASN1InputStream
 
readObject() - Method in class org.apache.directory.shared.asn1.der.ASN1InputStream
 
reset() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Reset the TLV, so it can be reused for the next PDU decoding.
reset() - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Reset the Value so that it can be reused

S

SEQUENCE_SEQUENCE_OF - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
SEQUENCE_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 
SET_SET_OF - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
SET_TAG - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 
SHORT_MASK - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
tag mask for the short tag format - 0001 1111 - 0x1F
STREAMED - Static variable in class org.apache.directory.shared.asn1.primitives.BitString
A flag to mark the OctetString as Streamed (for OctetString larger than 1024 chars)
StatefulDecoder - interface org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder.
A decoder which decodes encoded data as it arrives in peices while maintaining the state of the decode operation between the arrival of encoded chunks.
StatefulEncoder - interface org.apache.directory.shared.asn1.codec.stateful.StatefulEncoder.
The StatefulEncoder interface.
serialVersionUID - Static variable in class org.apache.directory.shared.asn1.ber.tlv.Value
 
set - Variable in class org.apache.directory.shared.asn1.der.DERSet
 
setCallback(DecoderCallback) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
 
setCallback(EncoderCallback) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
 
setCallback(DecoderCallback) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder
Sets the callback for this StatefulDecoder.
setCallback(EncoderCallback) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulEncoder
 
setCallback(EncoderCallback) - Method in class org.apache.directory.shared.asn1.codec.stateful.examples.HexEncoder
 
setCurrentLength(int) - Method in class org.apache.directory.shared.asn1.Asn1Object
Set the current length
setCurrentTLV(TLV) - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Set the current TLV
setCurrentTLV(TLV) - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Set the current TLV
setData(ByteBuffer) - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Set a block of bytes in the Value
setData(byte[]) - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Set a block of bytes in the Value
setData(byte[]) - Method in class org.apache.directory.shared.asn1.primitives.BitString
Set a new BitString in the BitString.
setDecoderMonitor(DecoderMonitor) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
 
setDecoderMonitor(DecoderMonitor) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder
Monitors all kinds of events that occur during processing.
setEncoderMonitor(EncoderMonitor) - Method in class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulEncoder
 
setEncoderMonitor(EncoderMonitor) - Method in interface org.apache.directory.shared.asn1.codec.stateful.StatefulEncoder
 
setEncoderMonitor(EncoderMonitor) - Method in class org.apache.directory.shared.asn1.codec.stateful.examples.HexEncoder
 
setExpectedLength(int) - Method in class org.apache.directory.shared.asn1.Asn1Object
Set the expected length
setExpectedLength(int) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Set the new expected length of the current TLV.
setLength(int) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
setLengthBytesRead(int) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
setLengthNbBytes(int) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
setMaxLengthLength(int) - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Set the maximul length for a Length
setMaxLengthLength(int) - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
Set the number of bytes that can be used to encode the Value length, including the first byte.
setMaxTagLength(int) - Method in class org.apache.directory.shared.asn1.ber.Asn1Decoder
Set the maximum Tag length
setMaxTagLength(int) - Method in interface org.apache.directory.shared.asn1.ber.tlv.ITLVBerDecoderMBean
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.shared.asn1.ber.grammar.AbstractGrammar
Set the grammar's name
setName(String) - Method in interface org.apache.directory.shared.asn1.ber.grammar.IGrammar
Set the grammar's name
setOID(byte[]) - Method in class org.apache.directory.shared.asn1.primitives.OID
Set the OID.
setOID(String) - Method in class org.apache.directory.shared.asn1.primitives.OID
Set the OID.
setParent(Asn1Object) - Method in class org.apache.directory.shared.asn1.Asn1Object
Set the parent
setParent(TLV) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
setParentTLV(TLV) - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Set the parent TLV.
setParentTLV(TLV) - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Set the parent TLV
setState(int) - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Set the new current state
setState(int) - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Set the new current state
setStatesEnum(IStates) - Method in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Set the states for this grammar
setTag(byte) - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
 
setTransition(int) - Method in class org.apache.directory.shared.asn1.ber.AbstractContainer
Update the transition from a state to another
setTransition(int) - Method in interface org.apache.directory.shared.asn1.ber.IAsn1Container
Update the transition from a state to another
size() - Method in class org.apache.directory.shared.asn1.codec.stateful.CallbackHistory
Gets the number of decoded items in the callback history.
size() - Method in class org.apache.directory.shared.asn1.der.DERSequence
 
size() - Method in class org.apache.directory.shared.asn1.der.DERSet
 
state - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
The current state of the decoding
stateStack - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
Store a stack of the current states used when switching grammars
states - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
Store the different states for debug purpose
statesEnum - Variable in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
The grammar's states
stringToByteArray(String) - Static method in class org.apache.directory.shared.asn1.der.DERString
Utility method for converting Strings to bytes.

T

TAG_STATE_END - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
End means that the Type is totally read
TAG_STATE_OVERFLOW - Static variable in class org.apache.directory.shared.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 - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Pending means that the Type Tag is contained in more that one byte
TAG_STATE_START - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Start means that the deconding hasn't read the first byte
TELETEX_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
TLV - class org.apache.directory.shared.asn1.ber.tlv.TLV.
This class is used to store Tag, Length and Value decoded from a PDU.
TLV() - Constructor for class org.apache.directory.shared.asn1.ber.tlv.TLV
Creates a new TLV object.
TLVStateEnum - class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum.
Stores the different states of a PDU parsing.
TLVStateEnum() - Constructor for class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
 
TLV_STATE_DONE - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
The decoding of a TLV is done
TRUE - Static variable in class org.apache.directory.shared.asn1.der.DERBoolean
 
TRUE_VALUE - Static variable in class org.apache.directory.shared.asn1.ber.tlv.Value
The encoded byte for a TRUE value
TYPE_CLASS_MASK - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
mask to get the type class value
TYPE_CLASS_UNIVERSAL - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLV
value for the universal type class
tag - Variable in class org.apache.directory.shared.asn1.der.DERObject
 
tag - Variable in class org.apache.directory.shared.asn1.der.DERTaggedObject
 
tlv - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
The current TLV
toAsciiBytes(byte[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 character bytes - each byte is a truncated char.
toAsciiChars(byte[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 characters.
toAsciiString(byte[]) - Static method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into a String of ascii 0 and 1 characters.
toByteArray(String) - Method in class org.apache.directory.shared.asn1.codec.binary.BinaryCodec
Decodes a String where each char of the String represents an ascii '0' or '1'.
toDigit(char, int) - Static method in class org.apache.directory.shared.asn1.codec.binary.Hex
Converts a hexadecimal character to an integer.
toString() - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
Print the action's name
toString(IStates) - Method in class org.apache.directory.shared.asn1.ber.grammar.GrammarTransition
 
toString() - Method in class org.apache.directory.shared.asn1.ber.tlv.TLV
Get a String representation of the TLV
toString(int) - Static method in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
Gets the ASN.1 UNIVERSAL type tag's enum using a tag value.
toString() - Method in class org.apache.directory.shared.asn1.ber.tlv.Value
Return a string representing the Value
toString() - Method in class org.apache.directory.shared.asn1.primitives.BitString
Return a native String representation of the BitString.
toString() - Method in class org.apache.directory.shared.asn1.primitives.OID
Get the OID as a String
transition - Variable in class org.apache.directory.shared.asn1.ber.AbstractContainer
The current transition
transitions - Variable in class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
Table of transitions.

U

UNIVERSAL_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
UTC_TIME - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
UTF8_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
UniversalTag - class org.apache.directory.shared.asn1.ber.tlv.UniversalTag.
Enum for ASN.1 UNIVERSAL class tags.
UniversalTag() - Constructor for class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
 

V

VALUE_STATE_END - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
End means that the Value is totally read
VALUE_STATE_PENDING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Pending means that the Type Value is contained in more that one byte
VALUE_STATE_START - Static variable in class org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum
Start means that the decoding hasn't read the first byte
VIDEOTEX_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
VISIBLE_STRING - Static variable in class org.apache.directory.shared.asn1.ber.tlv.UniversalTag
value for the tag
Value - class org.apache.directory.shared.asn1.ber.tlv.Value.
This class stores the data decoded from a TLV.
Value(byte[]) - Constructor for class org.apache.directory.shared.asn1.ber.tlv.Value
The constructor.
Value() - Constructor for class org.apache.directory.shared.asn1.ber.tlv.Value
The constructor.
value - Variable in class org.apache.directory.shared.asn1.der.DERObject
 
valueOf(int, DEREncodable) - Static method in class org.apache.directory.shared.asn1.der.DERApplicationSpecific
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERBMPString
Static factory method, type-conversion operator.
valueOf(boolean) - Static method in class org.apache.directory.shared.asn1.der.DERBoolean
Static factory method, type-conversion operator.
valueOf(int) - Static method in class org.apache.directory.shared.asn1.der.DEREnumerated
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERGeneralString
Static factory method, type-conversion operator.
valueOf(Date) - Static method in class org.apache.directory.shared.asn1.der.DERGeneralizedTime
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERIA5String
Static factory method, type-conversion operator.
valueOf(int) - Static method in class org.apache.directory.shared.asn1.der.DERInteger
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERNumericString
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERPrintableString
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERTeletexString
Static factory method, type-conversion operator.
valueOf(Date) - Static method in class org.apache.directory.shared.asn1.der.DERUTCTime
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERUTF8String
Static factory method, type-conversion operator.
valueOf(String) - Static method in class org.apache.directory.shared.asn1.der.DERVisibleString
Static factory method, type-conversion operator.

W

warning(StatefulDecoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.DecoderMonitor
Receive notification of a warning.
warning(StatefulDecoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.DecoderMonitorAdapter
 
warning(StatefulEncoder, Exception) - Method in interface org.apache.directory.shared.asn1.codec.stateful.EncoderMonitor
Receive notification of a warning.
warning(StatefulEncoder, Exception) - Method in class org.apache.directory.shared.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a warning.
writeNull() - Method in class org.apache.directory.shared.asn1.der.ASN1OutputStream
 
writeObject(Object) - Method in class org.apache.directory.shared.asn1.der.ASN1OutputStream
 

A B C D E F G H I L N O P R S T U V W

Copyright © 2004-2007 null. All Rights Reserved.