|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.asn1.AbstractDERType
org.ldaptive.asn1.AttributeValueAssertion
public class AttributeValueAssertion
An OID representing the type of attribute and its value.
| Nested Class Summary | |
|---|---|
static class |
AttributeValueAssertion.Value
Class to represent the tag and value. |
| Constructor Summary | |
|---|---|
AttributeValueAssertion(String oid,
AttributeValueAssertion.Value value)
Creates a new attribute value assertion. |
|
| Method Summary | |
|---|---|
static AttributeValueAssertion[] |
decode(ByteBuffer encoded)
Converts bytes in the buffer to attribute value assertions by reading from the current position to the limit. |
byte[] |
encode()
Encode this object into it's DER type. |
boolean |
equals(Object o)
|
String |
getOid()
Returns the OID. |
AttributeValueAssertion.Value |
getValue()
Returns the tag and value of the attribute. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class org.ldaptive.asn1.AbstractDERType |
|---|
encode, readBuffer |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeValueAssertion(String oid,
AttributeValueAssertion.Value value)
oid - describing the attribute valuevalue - of the attribute| Method Detail |
|---|
public String getOid()
public AttributeValueAssertion.Value getValue()
public byte[] encode()
encode in interface DEREncoderpublic static AttributeValueAssertion[] decode(ByteBuffer encoded)
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.
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||