Index

A B C D E F G H I O P R S T W 
All Classes and Interfaces|All Packages|Serialized Form

A

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].
Asn1Buffer - Class in org.apache.directory.api.asn1.util
A buffer used to store an encoding PDU.
Asn1Buffer() - Constructor for class org.apache.directory.api.asn1.util.Asn1Buffer
Creates a new Asn1Buffer instance
Asn1Buffer2 - Class in org.apache.directory.api.asn1.util
A buffer used to store an encoding PDU.
Asn1Buffer2() - Constructor for class org.apache.directory.api.asn1.util.Asn1Buffer2
Create a new instance of Asn1Buffer2
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.

B

BitString - Class in org.apache.directory.api.asn1.util
Implement the Bit String primitive type.
BitString(byte[]) - Constructor for class org.apache.directory.api.asn1.util.BitString
Creates a BitString from a byte[].
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).

C

clear() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Clear the position, emptying the buffer.
clear() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Clear the position, emptying the buffer.
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 Class in org.apache.directory.api.asn1
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for exception class org.apache.directory.api.asn1.DecoderException
Creates a DecoderException
DecoderException(String, Throwable) - Constructor for exception class 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
dumpBytes(byte[], int, int) - 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(Object) - Method in interface org.apache.directory.api.asn1.Encoder
Encodes an "Object" and returns the encoded content as an Object.
encode(ByteBuffer) - Method in interface org.apache.directory.api.asn1.Asn1Object
Encode the object to a PDU.
Encoder - Interface in org.apache.directory.api.asn1
Provides the highest level of abstraction for Encoders.
EncoderException - Exception Class in org.apache.directory.api.asn1
Thrown when there is a failure condition during the encoding process.
EncoderException(String) - Constructor for exception class org.apache.directory.api.asn1.EncoderException
Creates a new instance of this exception with an useful message.
EncoderException(String, Exception) - Constructor for exception class 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

F

fromBytes(byte[]) - Static method in class org.apache.directory.api.asn1.util.Oid
Decodes an OID from a byte[].
fromString(String) - Static method in class org.apache.directory.api.asn1.util.Oid
Returns an OID object representing oidString.

G

getBit(int) - Method in class org.apache.directory.api.asn1.util.BitString
Get the bit stored into the BitString at a specific position.
getBytes() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Get the interned bytes
getBytes() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Get the interned bytes
getBytesUtf8(String) - Static method in class org.apache.directory.api.asn1.util.Asn1StringUtils
Return UTF-8 encoded byte[] representation of a String
getData() - Method in class org.apache.directory.api.asn1.util.BitString
Get the representation of a BitString.
getEncodedLength() - Method in class org.apache.directory.api.asn1.util.Oid
Returns the length of the encoded byte[] representation.
getPos() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Get the current position in the buffer
getPos() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Get the current position in the buffer
getSize() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Get the buffer size
getSize() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Get the buffer size
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
Returns true if oidString is a valid string representation of an OID.

O

Oid - Class in org.apache.directory.api.asn1.util
An immutable representation of an object identifier that provides conversion between their String, and encoded byte[] representations.
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
 

P

Package Specification - Section in package org.apache.directory.api.asn1
 
put(byte) - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Store a byte at the current position in the buffer
put(byte) - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Store a byte at the current position in the buffer
put(byte[]) - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Store some bytes at the current position in the buffer
put(byte[]) - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
Store some bytes at the current position in the buffer

R

Related Documentation - Section in package org.apache.directory.api.asn1
 

S

setBit(int) - Method in class org.apache.directory.api.asn1.util.BitString
Set a bit at a specified position.
setData(byte[]) - Method in class org.apache.directory.api.asn1.util.BitString
Set a new BitString in the BitString.
setPos(int) - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
Set the current position in the buffer
size() - Method in class org.apache.directory.api.asn1.util.BitString
Get the number of stored bits

T

toBytes() - Method in class org.apache.directory.api.asn1.util.Oid
Returns the byte[] representation of the OID.
toString() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer
toString() - Method in class org.apache.directory.api.asn1.util.Asn1Buffer2
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
Returns the string representation of the OID.

W

writeBytesTo(OutputStream) - Method in class org.apache.directory.api.asn1.util.Oid
Writes the bytes respresenting this OID to the provided stream.
writeBytesTo(ByteBuffer) - Method in class org.apache.directory.api.asn1.util.Oid
Writes the bytes respresenting this OID to the provided buffer.
A B C D E F G H I O P R S T W 
All Classes and Interfaces|All Packages|Serialized Form