The com.slamd.asn1
package contains code for encoding and
decoding ASN.1 data using the Basic Encoding Rules (BER) format. This
encoding is used for communication between the SLAMD server and the
various clients, as well as storing certain kinds of data (e.g., job
statistics) in the configuration directory.
Note that this is not a complete ASN.1 implementation -- most elements are
included, but those elements not used by either SLAMD or the LDAP protocol
(e.g., OIDs, time values, etc.) are not implemented. The following ASN.1
elements are supported:
- Generic ASN.1 elements
- Boolean elements (type 0x01)
- Integer elements (type 0x02)
- Octet string elements (type 0x04)
- Null elements (type 0x05)
- Enumerated elements (type 0x0A)
- Sequence elements (type 0x30)
- Set elements (type 0x31)