/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ boolean hasValue(final ASN1OctetString value) { return hasValue(value, matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ boolean hasValue(final ASN1OctetString value) { return hasValue(value, matchingRule); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final byte[] attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final String attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final String attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final String attributeValue, final MatchingRule matchingRule) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue, matchingRule)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final byte[] attributeValue, final MatchingRule matchingRule) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue, matchingRule)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final byte[] attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final String attributeValue, final MatchingRule matchingRule) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue, matchingRule)); }
/** * {@inheritDoc} */ public boolean hasAttributeValue(final String attributeName, final byte[] attributeValue, final MatchingRule matchingRule) { ensureNotNull(attributeName, attributeValue); final Attribute a = getAttribute(attributeName); return ((a != null) && a.hasValue(attributeValue, matchingRule)); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It must not * be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final byte[] value) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this entry contains an attribute with the given name and * value. * * @param attributeName The name of the attribute for which to make the * determination. It must not be {@code null}. * @param attributeValue The value for which to make the determination. It * must not be {@code null}. * * @return {@code true} if this entry contains an attribute with the * specified name and value, or {@code false} if not. */ public final boolean hasAttributeValue(final String attributeName, final byte[] attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute attr = attributes.get(toLowerCase(attributeName)); return ((attr != null) && attr.hasValue(attributeValue)); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It must not * be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final byte[] value) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It must not * be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final String value) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It must not * be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final String value) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It * must not be {@code null}. * @param matchingRule The matching rule to use when making the * determination. It must not be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final String value, final MatchingRule matchingRule) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this entry contains an attribute with the given name and * value. * * @param attributeName The name of the attribute for which to make the * determination. It must not be {@code null}. * @param attributeValue The value for which to make the determination. It * must not be {@code null}. * * @return {@code true} if this entry contains an attribute with the * specified name and value, or {@code false} if not. */ public final boolean hasAttributeValue(final String attributeName, final String attributeValue) { ensureNotNull(attributeName, attributeValue); final Attribute attr = attributes.get(toLowerCase(attributeName)); return ((attr != null) && attr.hasValue(attributeValue)); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It * must not be {@code null}. * @param matchingRule The matching rule to use when making the * determination. It must not be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final String value, final MatchingRule matchingRule) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It * must not be {@code null}. * @param matchingRule The matching rule to use when making the * determination. It must not be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final byte[] value, final MatchingRule matchingRule) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }
/** * Indicates whether this attribute contains the specified value. * * @param value The value for which to make the determination. It * must not be {@code null}. * @param matchingRule The matching rule to use when making the * determination. It must not be {@code null}. * * @return {@code true} if this attribute has the specified value, or * {@code false} if not. */ public boolean hasValue(final byte[] value, final MatchingRule matchingRule) { ensureNotNull(value); return hasValue(new ASN1OctetString(value), matchingRule); }