@PublicAPI(stability=UNCOMMITTED)

Package org.opends.server.protocols.asn1

Contains the Directory Server classes for performing encoding and decoding of ASN.1 elements.

See:
          Description

Class Summary
ASN1Boolean This class defines the data structures and methods to use when interacting with ASN.1 Boolean elements.
ASN1Constants This class defines a number of constants that may be used when interacting with ASN.1 elements.
ASN1Element This class defines the data structures and methods to use when interacting with generic ASN.1 elements.
ASN1Enumerated This class defines the data structures and methods to use when interacting with ASN.1 enumerated elements.
ASN1Integer This class defines the data structures and methods to use when interacting with ASN.1 integer elements.
ASN1Long This class defines the data structures and methods to use when interacting with ASN.1 integer elements that may need to hold values greater than will fit in the scope of a Java int structure.
ASN1Null This class defines the data structures and methods to use when interacting with ASN.1 null elements.
ASN1OctetString This class defines the data structures and methods to use when interacting with ASN.1 octet string elements.
ASN1Reader This class defines a utility that can be used to read ASN.1 elements from a provided socket or input stream.
ASN1Sequence This class defines the data structures and methods to use when interacting with ASN.1 sequence elements.
ASN1Set This class defines the data structures and methods to use when interacting with ASN.1 set elements.
ASN1Writer This class defines a utility that can be used to write ASN.1 elements over a provided socket or output stream.
 

Exception Summary
ASN1Exception This class defines an exception that may be thrown if a problem occurs while interacting with an ASN.1 element.
 

Package org.opends.server.protocols.asn1 Description

Contains the Directory Server classes for performing encoding and decoding of ASN.1 elements. This is not specifically a protocol by itself, but it is used in several places throughout the Directory Server in areas like client communication and internal data encoding, and technically ASN.1 elements are considered to be Directory Server protocol elements.

Note that this particular implementation is limited to the subset of elements that are typically used by LDAP clients. As such, it does not include all ASN.1 element types, particularly elements like OIDs, bit strings, and timestamp values.

Also note that the contents of this package alone are not sufficient for a highly-performant and scalable LDAP implementation. The process of reading the outermost ASN.1 sequence that comprises the LDAPMessage envelope will best be done within the implementation for the LDAP connection handler.