|
||||||||||
| 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.ContextType
public class ContextType
Converts context types to their DER encoded format.
| Constructor Summary | |
|---|---|
ContextType(int index,
BigInteger item)
Creates a new context type. |
|
ContextType(int index,
boolean item)
Creates a new context type. |
|
ContextType(int index,
byte[] item)
Creates a new context type. |
|
ContextType(int index,
String item)
Creates a new context type. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Encode this object into it's DER type. |
| Methods inherited from class org.ldaptive.asn1.AbstractDERType |
|---|
encode, readBuffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextType(int index,
byte[] item)
index - of this item in the contextitem - to encode
public ContextType(int index,
String item)
index - of this item in the contextitem - to encode
public ContextType(int index,
boolean item)
index - of this item in the contextitem - to encode
public ContextType(int index,
BigInteger item)
index - of this item in the contextitem - to encode| Method Detail |
|---|
public byte[] encode()
encode in interface DEREncoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||