Package org.ldaptive.asn1
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.UseNameValueAn OID representing the type of attribute and its value.- Author:
- Middleware Services
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeValueAssertion.ValueDeprecated.Class to represent the tag and value.
-
Constructor Summary
Constructors Constructor Description AttributeValueAssertion(java.lang.String oid, AttributeValueAssertion.Value value)Deprecated.Creates a new attribute value assertion.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AttributeValueAssertion[]decode(DERBuffer encoded)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.booleanequals(java.lang.Object o)Deprecated.java.lang.StringgetOid()Deprecated.Returns the OID.AttributeValueAssertion.ValuegetValue()Deprecated.Returns the tag and value of the attribute.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class org.ldaptive.asn1.AbstractDERType
encode
-
-
-
-
Constructor Detail
-
AttributeValueAssertion
public AttributeValueAssertion(java.lang.String oid, AttributeValueAssertion.Value value)Deprecated.Creates a new attribute value assertion.- Parameters:
oid- describing the attribute valuevalue- of the attribute
-
-
Method Detail
-
getOid
public java.lang.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:DEREncoderEncode this object into it's DER type.- Specified by:
encodein interfaceDEREncoder- 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(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-