public final class LDAPReader extends Object
Modifier and Type | Method and Description |
---|---|
static LDAPControl |
readControl(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP control.
|
static LDAPMessage |
readMessage(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP message.
|
static ProtocolOp |
readProtocolOp(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP protocol op.
|
static SearchResultEntryProtocolOp |
readSearchEntry(Asn1Reader reader)
Decodes the elements from the provided ASN.1 reader as an LDAP search result entry protocol op.
|
public static LDAPMessage readMessage(Asn1Reader reader) throws LDAPException
reader
- The ASN.1 reader.LDAPException
- If a problem occurs while attempting to decode the LDAP message.public static ProtocolOp readProtocolOp(Asn1Reader reader) throws LDAPException
reader
- The ASN.1 reader.LDAPException
- If a problem occurs while trying to decode the provided ASN.1 elements as an LDAP protocol op.public static SearchResultEntryProtocolOp readSearchEntry(Asn1Reader reader) throws LDAPException
reader
- The ASN.1 reader.LDAPException
- If a problem occurs while decoding the provided ASN.1 element as an LDAP search result entry protocol
op.public static LDAPControl readControl(Asn1Reader reader) throws LDAPException
reader
- The ASN.1 reader.LDAPException
- If a problem occurs while attempting to decode the provided ASN.1 element as an LDAP control.Copyright 2010-2020 ForgeRock AS.