|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.asn1.DN
public class DN
A sequence of RDN values.
| Constructor Summary | |
|---|---|
DN(Collection<RDN> names)
Creates a new DN. |
|
DN(RDN... names)
Creates a new DN. |
|
| Method Summary | |
|---|---|
static DN |
decode(ByteBuffer encoded)
Converts bytes in the buffer to a DN by reading from the current position to the limit. |
byte[] |
encode()
Encode this object into it's DER type. |
boolean |
equals(Object o)
|
RDN[] |
getRDNs()
Returns the RDNs in this DN. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DN(Collection<RDN> names)
names - RDNs in this sequencepublic DN(RDN... names)
names - RDNs in this sequence| Method Detail |
|---|
public RDN[] getRDNs()
public byte[] encode()
encode in interface DEREncoderpublic static DN decode(ByteBuffer encoded)
encoded - buffer containing DER-encoded data where the buffer is
positioned at the tag of the DN and the limit is set beyond the last byte
of DN 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 | |||||||||