An value with its value.
An value with its value.
This can bee seen as AttributeValueAssertion but it is string encoded.
The type of the attribute.
The value of the attribute.
A set of values that distinguish an unique entry.
A set of values that distinguish an unique entry. Has to be nonempty. *
Decodes a LDAPDN from an encoded string.
Decodes a LDAPDN from an encoded string.
This searches for: Non escaped '+', which denotes the end of an attribute inside current relativeDN.
Non escaped ',', which denotes the end of the current relativeDN.
The string encoded LDAPDN.
Decodes the type and and its value from its string represnetation.
Decodes the type and and its value from its string represnetation.
NOTE that if the type is that of AttributeDescription.DottedDecimal form then we do not unescape its values. The value of such attribute is that of the hex of BER encoded value.
The string that has an attribute and value encoded in it.
Encodes the provided LDAPDN into a string.
Encodes the provided LDAPDN into a string. This will only fail in case any of the relativeDNs are empty.
The LDAPDN to be encoded.
Encodes the provided relativeDN into its string representation.
Encodes the provided relativeDN into its string representation. This only fails if the relativeDN has no attribute in it.
The relativeDN that is to be encoded into a string.
Encodes the provided attribute into its string representation.
Encodes the provided attribute into its string representation.
If the type of the attribute is that of AttributeDescription.DottedDecimal then the value is expected to be in the hex of the BER encoding. As such there is no escaping done for such value.
The attribute to be encoded.
Escapes the value of AttributeTypeAndValue, which follows the RFC 4514 section 2.4.
Escapes the value of AttributeTypeAndValue, which follows the RFC 4514 section 2.4.
The value that is to be escaped.
Unescapes the value of AttributeTypeAndValue, which follows the RFC 4514 section 2.4.
Unescapes the value of AttributeTypeAndValue, which follows the RFC 4514 section 2.4.
The value that was escaped according to the RFC