Package org.ldaptive.asn1
Class AttributeValueAssertion.Value
- java.lang.Object
-
- org.ldaptive.asn1.AttributeValueAssertion.Value
-
- Enclosing class:
- AttributeValueAssertion
public static class AttributeValueAssertion.Value extends java.lang.ObjectClass to represent the tag and value.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)byte[]getBytes()Returns the attribute value bytes.DERTaggetTag()Returns the attribute value tag.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Value
public Value(DERTag tag, byte[] bytes)
Creates a new value.- Parameters:
tag- type of the attribute valuebytes- of the attribute
-
-
Method Detail
-
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(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-