public virtual void startNestedFilter(int rfcType)
{
Asn1Object current;
if (rfcType == AND || rfcType == OR)
{
current = new Asn1Tagged(new Asn1Identifier(Asn1Identifier.CONTEXT, true, rfcType), new Asn1SetOf(), false);
}
else if (rfcType == NOT)
{
current = new Asn1Tagged(new Asn1Identifier(Asn1Identifier.CONTEXT, true, rfcType), null, true);
}
else
{
throw new LdapLocalException("Attempt to create a nested filter other than AND, OR or NOT", LdapException.FILTER_ERROR);
}
addObject(current);
return ;
}