|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.asn1.ASN1Object
This is the base class for all other ASN1 types.
Constructor Summary | |
ASN1Object(ASN1Identifier id)
|
Method Summary | |
abstract void |
encode(ASN1Encoder enc,
java.io.OutputStream out)
Abstract method that must be implemented by each child class to encode itself ( an ASN1Object) directly intto a output stream. |
byte[] |
getEncoding(ASN1Encoder enc)
This method returns a byte array representing the encoded ASN1Object. |
ASN1Identifier |
getIdentifier()
Returns the identifier for this ASN1Object as an ASN1Identifier. |
protected void |
setIdentifier(ASN1Identifier id)
Sets the identifier for this ASN1Object. |
java.lang.String |
toString()
Return a String representation of this ASN1Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ASN1Object(ASN1Identifier id)
Method Detail |
public abstract void encode(ASN1Encoder enc, java.io.OutputStream out) throws java.io.IOException
out
- The output stream onto which the encoded
ASN1Object will be placed.
java.io.IOException
public ASN1Identifier getIdentifier()
protected void setIdentifier(ASN1Identifier id)
id
- An ASN1Identifier object representing the CLASS,
FORM and TAG)public final byte[] getEncoding(ASN1Encoder enc)
public java.lang.String toString()
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |