|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1OctetString
com.objsys.asn1j.runtime.Asn1OpenType
com.objsys.asn1j.runtime.Asn1ChoiceExt
This is a container class for holding a CHOICE open type extension element. This class is used for an open type extension (i.e. a ... at the end of a constructed type or a ..., ... at some other point in a constructed type).
| Field Summary | |
short |
choiceIndex
The choice index value is used with the packed encoding rules (PER) when this object is used to encode/decode a choice extension. |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1OpenType |
mEncodeBuffer, mLength, mTextEncoding |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1OctetString |
TAG, value |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1Type |
BIT_STRING, BMPString, BOOLEAN, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OpenType, PrintableString, REAL, RelativeOID, SEQUENCE, SET, T61String, TeletexString, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString |
| Constructor Summary | |
Asn1ChoiceExt()
|
|
| Method Summary | |
void |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
This method decodes an extension field using the Basic Encoding Rules (BER). |
void |
decode(Asn1PerDecodeBuffer buffer)
This method decodes an open type extension in a CHOICE construct using the packed encoding rules (PER). |
int |
encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER). |
void |
encode(Asn1BerOutputStream out,
boolean explicit)
This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER). |
void |
encode(Asn1PerEncodeBuffer buffer)
This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER). |
void |
encode(Asn1PerOutputStream out)
This method encodes an ASN.1 open type value using the Packed Encoding Rules (PER). |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1OpenType |
toString |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1OctetString |
compareTo, decode, decodeXER, decodeXML, encode, encode, encode, encode, equals, equals, getLength, toInputStream |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
clone, decode, decode, decode, encode, encode, encode, getTypeName, indent, isOpenType, matchTag, matchTag, matchTypeName, pdiag, print, setKey, setOpenType |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public short choiceIndex
| Constructor Detail |
public Asn1ChoiceExt()
| Method Detail |
public void decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
throws Asn1Exception,
java.io.IOException
decode in interface Asn1TypeIFdecode in class Asn1OpenTypebuffer - Decode message buffer objectexplicit - Flag indicating element is explicitly taggedimplicitLength - Length of contents if implicit
Asn1Exception
java.io.IOException
public int encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
throws Asn1Exception
encode in interface Asn1TypeIFencode in class Asn1OpenTypebuffer - Encode message buffer objectexplicit - Flag indicating element is explicitly tagged
Asn1Exception
public void decode(Asn1PerDecodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
value public member list variable. The public
member variable choiceIndex will be populated
with the decoded choice index value.
decode in interface Asn1TypeIFdecode in class Asn1OctetStringbuffer - Decode message buffer object
Asn1Exception
java.io.IOException
public void encode(Asn1PerEncodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1OpenTypebuffer - Encode message buffer object
Asn1Exception
java.io.IOException
public void encode(Asn1BerOutputStream out,
boolean explicit)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1OpenTypeout - BER Output Stream objectexplicit - Flag indicating element is explicitly tagged
java.io.IOException - Any exception thrown by the underlying OutputStream.
Asn1Exception - Thrown, if operation is failed.
public void encode(Asn1PerOutputStream out)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1OpenTypeout - PER Output Stream object
java.io.IOException - Any exception thrown by the Asn1PerOutputStream.
Asn1Exception - Thrown, if operation is failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||