| | |
| | | */ |
| | | package org.opends.server.protocols.ldap; |
| | | |
| | | |
| | | |
| | | import static org.opends.server.protocols.ldap.LDAPConstants.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeBuilder; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | |
| | | import org.opends.server.types.SearchResultEntry; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines the structures and methods for an LDAP search result entry |
| | | * protocol op, which is used to return entries that match the associated search |
| | |
| | | stream.writeStartSequence(); |
| | | stream.writeOctetString(a.getNameWithOptions()); |
| | | stream.writeStartSet(); |
| | | for (AttributeValue value : a) |
| | | for (ByteString value : a) |
| | | { |
| | | stream.writeOctetString(value.getValue()); |
| | | stream.writeOctetString(value); |
| | | } |
| | | stream.writeEndSequence(); |
| | | stream.writeEndSequence(); |