Package | Description |
---|---|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
LdapReader<R extends Asn1Reader>
Reads LDAP messages from an underlying ASN.1 reader.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsn1Reader
An abstract
ASN1Reader which can be used as the basis for
implementing new ASN1 reader implementations. |
Modifier and Type | Method and Description |
---|---|
static <R extends Asn1Reader> |
Ldap.getReader(R asn1Reader,
DecodeOptions options)
Creates a new LDAP reader which will read LDAP messages from an ASN.1
reader using the provided decoding options.
|
Modifier and Type | Method and Description |
---|---|
static Asn1Reader |
Asn1.getReader(byte[] array)
Returns an ASN.1 reader whose source is the provided byte array and
having an unlimited maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(byte[] array,
int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte array and
having a user defined maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(ByteSequence sequence)
Returns an ASN.1 reader whose source is the provided byte sequence and
having an unlimited maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(ByteSequence sequence,
int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte sequence and
having a user defined maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(ByteSequenceReader reader)
Returns an ASN.1 reader whose source is the provided byte sequence reader
and having an unlimited maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(ByteSequenceReader reader,
int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte sequence reader
and having a user defined maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(InputStream stream)
Returns an ASN.1 reader whose source is the provided input stream and
having an unlimited maximum BER element size.
|
static Asn1Reader |
Asn1.getReader(InputStream stream,
int maxElementSize)
Returns an ASN.1 reader whose source is the provided input stream and
having a user defined maximum BER element size.
|
Asn1Reader |
Asn1Reader.skipElement()
Skips the next element without decoding it.
|
Asn1Reader |
Asn1Reader.skipElement(byte type)
Skips the next element having the provided type tag without decoding it.
|
Asn1Reader |
AbstractAsn1Reader.skipElement(byte expectedType) |
Modifier and Type | Method and Description |
---|---|
static Attribute |
Ldap.readAttribute(Asn1Reader reader,
DecodeOptions options,
Schema schema)
Reads the next ASN.1 element from the provided
ASN1Reader as an Attribute . |
static Control |
Ldap.readControl(Asn1Reader reader)
Reads the next ASN.1 element from the provided
ASN1Reader as a Control . |
static Entry |
Ldap.readEntry(Asn1Reader reader,
DecodeOptions options)
Reads the next ASN.1 element from the provided
ASN1Reader as an Entry . |
static Filter |
Ldap.readFilter(Asn1Reader reader)
Reads the next ASN.1 element from the provided
ASN1Reader as a Filter using a maximum filter
depth of 100. |
static Filter |
Ldap.readFilter(Asn1Reader reader,
int maxFilterDepth)
Reads the next ASN.1 element from the provided
ASN1Reader as a Filter using the provided maximum
filter depth. |
static Modification |
Ldap.readModification(Asn1Reader reader,
DecodeOptions options,
Schema schema)
Reads the next ASN.1 element from the provided
ASN1Reader as a Modification . |
Copyright © 2010-2018, ForgeRock All Rights Reserved.