Package org.ldaptive.asn1
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 Summary
Fields Modifier and Type Field Description private byte[]
attributeValueBytes
attribute value bytes.private DERTag
attributeValueTag
attribute value tag.private static int
HASH_CODE_SEED
hash code seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
getBytes()
Returns the attribute value bytes.DERTag
getTag()
Returns the attribute value tag.int
hashCode()
String
toString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
attributeValueTag
private final DERTag attributeValueTag
attribute value tag.
-
attributeValueBytes
private final byte[] attributeValueBytes
attribute value bytes.
-
-
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
-
-