|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.asn1.RDN
public class RDN
A set of attribute value assertions.
| Constructor Summary | |
|---|---|
RDN(AttributeValueAssertion... assertions)
Creates a new RDN. |
|
RDN(Collection<AttributeValueAssertion> assertions)
Creates a new RDN. |
|
| Method Summary | ||
|---|---|---|
static RDN[] |
decode(ByteBuffer encoded)
Converts bytes in the buffer to RDNs by reading from the current position to the limit. |
|
byte[] |
encode()
Encode this object into it's DER type. |
|
boolean |
equals(Object o)
|
|
AttributeValueAssertion.Value |
getAttributeValue(String oid)
Returns a single attribute value for the supplied oid. |
|
|
getAttributeValue(String oid,
ValueTranscoder<T> transcoder)
Returns a single attribute value for the supplied oid. |
|
AttributeValueAssertion[] |
getAttributeValueAssertions()
Returns the attribute value assertions in this RDN. |
|
AttributeValueAssertion.Value[] |
getAttributeValues(String oid)
Returns the attribute values for the supplied oid. |
|
|
getAttributeValues(String oid,
ValueTranscoder<T> transcoder)
Returns the attribute values decoded by the supplied transcoder. |
|
int |
hashCode()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RDN(Collection<AttributeValueAssertion> assertions)
assertions - in this RDNpublic RDN(AttributeValueAssertion... assertions)
assertions - in this RDN| Method Detail |
|---|
public AttributeValueAssertion[] getAttributeValueAssertions()
public AttributeValueAssertion.Value[] getAttributeValues(String oid)
oid - to match
public AttributeValueAssertion.Value getAttributeValue(String oid)
getAttributeValues(String).
oid - to match
public <T> T[] getAttributeValues(String oid,
ValueTranscoder<T> transcoder)
T - type of valueoid - to matchtranscoder - to decode the binary value
public <T> T getAttributeValue(String oid,
ValueTranscoder<T> transcoder)
getAttributeValues(String, ValueTranscoder).
T - type of valueoid - to matchtranscoder - to decode the binary value
public byte[] encode()
encode in interface DEREncoderpublic static RDN[] decode(ByteBuffer encoded)
encoded - buffer containing DER-encoded data where the buffer is
positioned at the tag of the RDN and the limit is set beyond the last byte
of the RDN.
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 | |||||||||