LDAP Classes
Implements Java LDAP

Package com.novell.ldap.asn1

The classes provided in this package can be used to encode and decode Abstract Syntax Notation One (ASN.1) object types using BER (Basic Encding Rules).

See:
          Description

Interface Summary
ASN1Decoder This interface defines the methods for decoding each of the ASN.1 types.
ASN1Encoder This interface defines the methods for encoding each of the ASN.1 types.
 

Class Summary
ASN1Boolean This class encapsulates the ASN.1 BOOLEAN type.
ASN1Choice The ASN1Choice object represents the choice of any ASN1Object.
ASN1Enumerated This class encapsulates the ASN.1 ENUMERATED type.
ASN1Identifier This class is used to encapsulate an ASN.1 Identifier.
ASN1Integer This class encapsulates the ASN.1 INTEGER type.
ASN1Length This class provides a means to manipulate ASN.1 Length's.
ASN1Null This class represents the ASN.1 NULL type.
ASN1Numeric This abstract class is the base class for all ASN1 numeric (integral) types.
ASN1Object This is the base class for all other ASN1 types.
ASN1OctetString This class encapsulates the OCTET STRING type.
ASN1Sequence The ASN1Sequence class can hold an ordered collection of components with distinct type.
ASN1SequenceOf The ASN1SequenceOf class is used to hold an ordered collection of components with identical type.
ASN1Set The ASN1Set class can hold an unordered collection of components with distinct type.
ASN1SetOf The ASN1Set class can hold an unordered collection of components with identical type.
ASN1Structured This class serves as the base type for all ASN.1 structured types.
ASN1Tagged The ASN1Tagged class can hold a base ASN1Object with a distinctive tag describing the type of that base object.
LBERDecoder This class provides LBER decoding routines for ASN.1 Types.
LBEREncoder This class provides LBER encoding routines for ASN.1 Types.
 

Package com.novell.ldap.asn1 Description

The classes provided in this package can be used to encode and decode Abstract Syntax Notation One (ASN.1) object types using BER (Basic Encding Rules).

Abstract Syntax Notation One (ASN.1) is the language used by the OSI protocols for describing abstract syntax. ASN.1 as defined in ISO documents 8824.2 and 8825.2.

Basic Encoding Rules or BER are historically the original encoding rules for ASN.1. The LDAP protocol uses the BER encoding format and this package includes classes that allow ASN.1 to be encoded and decoded into the BER format.

However the classes have been built to be flexible enought to allow an application to provide its own ASN1 Encoder class. This class could encode data into any encoding format.

For example a particular application might want to use PER (Packed Encoding Rules) to encode the supported ASN.1 objects. This application would however be required to supply its own PER Encoder and PER Decoder classes. These application provided classes will need to implement the ASN1Encoder and ASN1Decoder interfaces defined in this package.

Note that LDAP uses BER encoding and the Novell provided package already includes a BEREncoder and BERDEcoder class.

These classes can be used by 3rd party developers that wish to develop new LDAP controls or extensions. These classes could also be used by an arbitrary JAVA applcation that wishes to encode and decode data as defined in the ASN.1 format.

Package Specification

This package is designed to work on LDAPv3 servers. It has not been tested for backwards compatibility with LDAPv2 servers.


LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000