Class AttributeValueAssertion

java.lang.Object
org.ldaptive.asn1.AbstractDERType
org.ldaptive.asn1.AttributeValueAssertion
All Implemented Interfaces:
DEREncoder

@Deprecated public class AttributeValueAssertion extends AbstractDERType implements DEREncoder
Deprecated.
An OID representing the type of attribute and its value.
  • Field Details

    • HASH_CODE_SEED

      private static final int HASH_CODE_SEED
      Deprecated.
      hash code seed.
      See Also:
    • PATH

      private static final DERPath PATH
      Deprecated.
      DER path for parsing attribute value assertion.
    • attributeOid

      private final String attributeOid
      Deprecated.
      OID of the attribute.
    • attributeValue

      private final AttributeValueAssertion.Value attributeValue
      Deprecated.
      Tag and value of the attribute.
  • Constructor Details

    • AttributeValueAssertion

      public AttributeValueAssertion(String oid, AttributeValueAssertion.Value value)
      Deprecated.
      Creates a new attribute value assertion.
      Parameters:
      oid - describing the attribute value
      value - of the attribute
  • Method Details

    • getOid

      public String getOid()
      Deprecated.
      Returns the OID.
      Returns:
      oid
    • getValue

      public AttributeValueAssertion.Value getValue()
      Deprecated.
      Returns the tag and value of the attribute.
      Returns:
      attribute value
    • encode

      public byte[] encode()
      Deprecated.
      Description copied from interface: DEREncoder
      Encode this object into it's DER type.
      Specified by:
      encode in interface DEREncoder
      Returns:
      DER encoded object
    • decode

      public static AttributeValueAssertion[] decode(DERBuffer encoded)
      Deprecated.
      Converts bytes in the buffer to attribute value assertions by reading from the current position to the limit.
      Parameters:
      encoded - buffer containing DER-encoded data where the buffer is positioned at the tag of the oid and the limit is set beyond the last byte of attribute value data.
      Returns:
      decoded bytes as attribute value assertions
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object