Package org.forgerock.opendj.io
Classes and interfaces providing I/O functionality.
It includes facilities for encoding and decoding ASN.1 data streams, as well as LDAP protocol messages.
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.
-
Interface Summary Interface Description ASN1Reader An interface for decoding ASN.1 elements from a data source.ASN1Writer An interface for encoding ASN.1 elements to a data source.LDAPMessageHandler An interface for handling LDAP messages decoded using anLDAPReader. -
Class Summary Class Description AbstractASN1Reader An abstractASN1Readerwhich can be used as the basis for implementing new ASN1 reader implementations.AbstractASN1Writer An abstractASN1Writerwhich can be used as the basis for implementing new ASN1 writer implementations.AbstractLDAPMessageHandler This class provides a skeletal implementation of theLDAPMessageHandlerinterface, in order to minimize the effort required to implement this interface.ASN1 This class contains various static factory methods for creating ASN.1 readers and writers.LDAP This class contains various static utility methods encoding and decoding LDAP protocol elements.LDAPReader<R extends ASN1Reader> Reads LDAP messages from an underlying ASN.1 reader.LDAPWriter<W extends ASN1Writer> Writes LDAP messages to an underlying ASN.1 writer.