Class AttributeValueAssertion.Value

java.lang.Object
org.ldaptive.asn1.AttributeValueAssertion.Value
Enclosing class:
AttributeValueAssertion

public static class AttributeValueAssertion.Value extends Object
Class to represent the tag and value.
  • Field Details

    • HASH_CODE_SEED

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

      private final DERTag attributeValueTag
      attribute value tag.
    • attributeValueBytes

      private final byte[] attributeValueBytes
      attribute value bytes.
  • Constructor Details

    • Value

      public Value(DERTag tag, byte[] bytes)
      Creates a new value.
      Parameters:
      tag - type of the attribute value
      bytes - of the attribute
  • Method Details

    • getTag

      public DERTag getTag()
      Returns the attribute value tag.
      Returns:
      attribute value tag
    • getBytes

      public byte[] getBytes()
      Returns the attribute value bytes.
      Returns:
      attribute value bytes
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object