public abstract class

Ber

extends Object
java.lang.Object
   ↳ com.sun.jndi.ldap.Ber
Known Direct Subclasses

Class Overview

Base class that defines common fields, constants, and debug method.

Summary

Constants
int ASN_APPLICATION
int ASN_BIT_STRING
int ASN_BOOLEAN
int ASN_CONSTRUCTOR
int ASN_CONTEXT
int ASN_ENUMERATED
int ASN_INTEGER
int ASN_NULL
int ASN_OBJECT_ID
int ASN_OCTET_STR
int ASN_PRIMITIVE
int ASN_PRIVATE
int ASN_SEQUENCE
int ASN_SET
int ASN_SIMPLE_STRING
int ASN_UNIVERSAL
Fields
protected byte[] buf
protected int bufsize
protected int offset
Protected Constructors
Ber()
Public Methods
static void dumpBER(OutputStream outStream, String tag, byte[] bytes, int from, int to)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ASN_APPLICATION

Constant Value: 64 (0x00000040)

public static final int ASN_BIT_STRING

Constant Value: 3 (0x00000003)

public static final int ASN_BOOLEAN

Constant Value: 1 (0x00000001)

public static final int ASN_CONSTRUCTOR

Constant Value: 32 (0x00000020)

public static final int ASN_CONTEXT

Constant Value: 128 (0x00000080)

public static final int ASN_ENUMERATED

Constant Value: 10 (0x0000000a)

public static final int ASN_INTEGER

Constant Value: 2 (0x00000002)

public static final int ASN_NULL

Constant Value: 5 (0x00000005)

public static final int ASN_OBJECT_ID

Constant Value: 6 (0x00000006)

public static final int ASN_OCTET_STR

Constant Value: 4 (0x00000004)

public static final int ASN_PRIMITIVE

Constant Value: 0 (0x00000000)

public static final int ASN_PRIVATE

Constant Value: 192 (0x000000c0)

public static final int ASN_SEQUENCE

Constant Value: 16 (0x00000010)

public static final int ASN_SET

Constant Value: 17 (0x00000011)

public static final int ASN_SIMPLE_STRING

Constant Value: 4 (0x00000004)

public static final int ASN_UNIVERSAL

Constant Value: 0 (0x00000000)

Fields

protected byte[] buf

protected int bufsize

protected int offset

Protected Constructors

protected Ber ()

Public Methods

public static void dumpBER (OutputStream outStream, String tag, byte[] bytes, int from, int to)