A B C D E G H I O S T 

A

AbstractAsn1Object - Class in org.apache.directory.api.asn1
An abstract class which implements basic TLV operations.
AbstractAsn1Object(int) - Constructor for class org.apache.directory.api.asn1.AbstractAsn1Object
Constructor associated with a TLV identifier.
AbstractAsn1Object() - Constructor for class org.apache.directory.api.asn1.AbstractAsn1Object
Default constructor.
addLength(int) - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Add a length to the object
addLength(int) - Method in interface org.apache.directory.api.asn1.Asn1Object
Add a length to the object
asciiStringToByte(String) - Static method in class org.apache.directory.api.asn1.util.Asn1StringUtils
Transform a string to an array of ASCII bytes, where the byte array will contain only values in [0, 127].
Asn1Object - Interface in org.apache.directory.api.asn1
An abstract class which implements basic TLV operations.
Asn1StringUtils - Class in org.apache.directory.api.asn1.util
Little helper class for the asn1 package.
Asn1StringUtils() - Constructor for class org.apache.directory.api.asn1.util.Asn1StringUtils
 

B

BitString - Class in org.apache.directory.api.asn1.util
Implement the Bit String primitive type.
BitString(int) - Constructor for class org.apache.directory.api.asn1.util.BitString
Creates a BitString with a specific length (length is the number of bits).
BitString(byte[]) - Constructor for class org.apache.directory.api.asn1.util.BitString
Creates a BitString from a byte[].

C

clearBit(int) - Method in class org.apache.directory.api.asn1.util.BitString
Clear a bit at a specified position.
computeLength() - Method in interface org.apache.directory.api.asn1.Asn1Object
Compute the object length, which is the sum of all inner length.

D

decode(Object) - Method in interface org.apache.directory.api.asn1.Decoder
Decodes an "encoded" Object and returns a "decoded" Object.
Decoder - Interface in org.apache.directory.api.asn1
Provides the highest level of abstraction for Decoders.
DecoderException - Exception in org.apache.directory.api.asn1
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for exception org.apache.directory.api.asn1.DecoderException
Creates a DecoderException
DecoderException(String, Throwable) - Constructor for exception org.apache.directory.api.asn1.DecoderException
Creates a DecoderException
dumpByte(byte) - Static method in class org.apache.directory.api.asn1.util.Asn1StringUtils
Helper function that dump a byte in hex form
dumpBytes(byte[]) - Static method in class org.apache.directory.api.asn1.util.Asn1StringUtils
Helper function that dump an array of bytes in hex form

E

EMPTY_BYTES - Static variable in class org.apache.directory.api.asn1.util.Asn1StringUtils
The empty byte[]
EMPTY_STRING - Static variable in class org.apache.directory.api.asn1.util.BitString
A null MutableString
encode(ByteBuffer) - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Encode the object to a PDU.
encode(ByteBuffer) - Method in interface org.apache.directory.api.asn1.Asn1Object
Encode the object to a PDU.
encode(Object) - Method in interface org.apache.directory.api.asn1.Encoder
Encodes an "Object" and returns the encoded content as an Object.
Encoder - Interface in org.apache.directory.api.asn1
Provides the highest level of abstraction for Encoders.
EncoderException - Exception in org.apache.directory.api.asn1
Thrown when there is a failure condition during the encoding process.
EncoderException(String) - Constructor for exception org.apache.directory.api.asn1.EncoderException
Creates a new instance of this exception with an useful message.
equals(Object) - Method in class org.apache.directory.api.asn1.util.Oid

G

getBit(int) - Method in class org.apache.directory.api.asn1.util.BitString
Get the bit stored into the BitString at a specific position.
getBytesUtf8(String) - Static method in class org.apache.directory.api.asn1.util.Asn1StringUtils
Return UTF-8 encoded byte[] representation of a String
getCurrentLength() - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Get the current object length, which is the sum of all inner length already decoded.
getCurrentLength() - Method in interface org.apache.directory.api.asn1.Asn1Object
Get the current object length, which is the sum of all inner length already decoded.
getData() - Method in class org.apache.directory.api.asn1.util.BitString
Get the representation of a BitString.
getExpectedLength() - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Get the expected object length.
getExpectedLength() - Method in interface org.apache.directory.api.asn1.Asn1Object
Get the expected object length.
getOid() - Method in class org.apache.directory.api.asn1.util.Oid
Get an array of bytes from the Oid
getOidLength() - Method in class org.apache.directory.api.asn1.util.Oid
Get the number of bytes necessary to store the Oid
getOidValues() - Method in class org.apache.directory.api.asn1.util.Oid
Get an array of long from the Oid
getParent() - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Get the parent
getParent() - Method in interface org.apache.directory.api.asn1.Asn1Object
Get the parent
getTlvId() - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
 
getUnusedBits() - Method in class org.apache.directory.api.asn1.util.BitString
Get the number of unused bits

H

hashCode() - Method in class org.apache.directory.api.asn1.util.Oid

I

isOid(String) - Static method in class org.apache.directory.api.asn1.util.Oid
Check that an Oid is valid

O

Oid - Class in org.apache.directory.api.asn1.util
This class implement an Oid (Object Identifier).

An Oid is encoded as a list of bytes representing integers.

An Oid has a numeric representation where number are separated with dots :
SPNEGO Oid = 1.3.6.1.5.5.2

Translating from a byte list to a dot separated list of number follows the rules :
the first number is in [0..2] the second number is in [0..39] if the first number is 0 or 1 the first byte has a value equal to : number 1 * 40 + number two the upper bit of a byte is set if the next byte is a part of the number
For instance, the SPNEGO Oid (1.3.6.1.5.5.2) will be encoded :
Oid() - Constructor for class org.apache.directory.api.asn1.util.Oid
Creates a new Oid object.
Oid(byte[]) - Constructor for class org.apache.directory.api.asn1.util.Oid
Create a new Oid object from a byte array
Oid(String) - Constructor for class org.apache.directory.api.asn1.util.Oid
Create a new Oid object from a String
org.apache.directory.api.asn1 - package org.apache.directory.api.asn1
Provides the fundamental stateful codec interfaces.
org.apache.directory.api.asn1.util - package org.apache.directory.api.asn1.util
 

S

setBit(int) - Method in class org.apache.directory.api.asn1.util.BitString
Set a bit at a specified position.
setCurrentLength(int) - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Set the current length
setCurrentLength(int) - Method in interface org.apache.directory.api.asn1.Asn1Object
Set the current length
setData(byte[]) - Method in class org.apache.directory.api.asn1.util.BitString
Set a new BitString in the BitString.
setExpectedLength(int) - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Set the expected length
setExpectedLength(int) - Method in interface org.apache.directory.api.asn1.Asn1Object
Set the expected length
setOid(byte[]) - Method in class org.apache.directory.api.asn1.util.Oid
Set the Oid.
setOid(String) - Method in class org.apache.directory.api.asn1.util.Oid
Set the Oid.
setParent(AbstractAsn1Object) - Method in class org.apache.directory.api.asn1.AbstractAsn1Object
Sets the parent
size() - Method in class org.apache.directory.api.asn1.util.BitString
 

T

toString() - Method in class org.apache.directory.api.asn1.util.BitString
Return a native String representation of the BitString.
toString() - Method in class org.apache.directory.api.asn1.util.Oid
Get the Oid as a String
A B C D E G H I O S T 

Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.