Package org.ldaptive.asn1
Class AttributeValueAssertion
java.lang.Object
org.ldaptive.asn1.AbstractDERType
org.ldaptive.asn1.AttributeValueAssertion
- All Implemented Interfaces:
DEREncoder
Deprecated.
An OID representing the type of attribute and its value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated.Class to represent the tag and value. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
Deprecated.OID of the attribute.private final AttributeValueAssertion.Value
Deprecated.Tag and value of the attribute.private static final int
Deprecated.hash code seed.private static final DERPath
Deprecated.DER path for parsing attribute value assertion. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new attribute value assertion. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeValueAssertion[]
Deprecated.Converts bytes in the buffer to attribute value assertions by reading from the current position to the limit.byte[]
encode()
Deprecated.Encode this object into it's DER type.boolean
Deprecated.getOid()
Deprecated.Returns the OID.getValue()
Deprecated.Returns the tag and value of the attribute.int
hashCode()
Deprecated.toString()
Deprecated.Methods inherited from class org.ldaptive.asn1.AbstractDERType
encode
-
Field Details
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDDeprecated.hash code seed.- See Also:
-
PATH
Deprecated.DER path for parsing attribute value assertion. -
attributeOid
Deprecated.OID of the attribute. -
attributeValue
Deprecated.Tag and value of the attribute.
-
-
Constructor Details
-
AttributeValueAssertion
Deprecated.Creates a new attribute value assertion.- Parameters:
oid
- describing the attribute valuevalue
- of the attribute
-
-
Method Details
-
getOid
Deprecated.Returns the OID.- Returns:
- oid
-
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 interfaceDEREncoder
- Returns:
- DER encoded object
-
decode
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
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
NameValue