Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
cryptix.asn1.encoding.BaseCoder
Fields inherited from interface cryptix.asn1.encoding.CoderOperations | |
DECODING , ENCODING , UNINITIALIZED |
Method Summary | |
void | |
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void |
|
void | |
void | |
void |
|
void | |
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void |
|
void | |
void | |
void |
|
static CoderOperations |
|
int |
|
void |
|
void |
|
Object | |
Object |
|
Object |
|
Object |
|
Object | |
Object |
|
Object |
|
Object |
|
Object |
|
Object |
|
Object | |
Object | |
Object |
|
Object |
|
Object | |
Object | |
Object |
|
Object |
|
protected Object |
|
public void decode(ASNAny obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNBitString obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNBoolean obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNInteger obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNNull obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNObjectIdentifier obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNOctetString obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNPrintableString obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSequence obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSequenceOf obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSet obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSetOf obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNTaggedType obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void decode(ASNTime obj, InputStream in) throws IOException
- Specified by:
- decode in interface CoderOperations
public void encode(ASNAny obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNBitString obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNBoolean obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNInteger obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNNull obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNObjectIdentifier obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNOctetString obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNPrintableString obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNSequence obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNSequenceOf obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNSet obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNSetOf obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNTaggedType obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public void encode(ASNTime obj, OutputStream out) throws IOException
- Specified by:
- encode in interface CoderOperations
public static CoderOperations getInstance(String anEncoding)
Instantiates an ASN.1 coder to use for concrete processing of the input/output. Effectively, EncodingFactory objects implement the encoding format for an ASN.1 grammar.
- Parameters:
anEncoding
- Name of the encoding. If the name is not fully qualified, then look for a class with same name in package defined by the package-specific property with the key "asn.1.encoding.home".
public int getState()
public Object visit(ASNAny node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNBitString node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNBoolean node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNInteger node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNNull node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNObjectIdentifier node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNOctetString node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNPrintableString node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNSequence node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNSequenceOf node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNSet node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNSetOf node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNSpecification node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNTaggedType node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNTime node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNType node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(ASNTypeAlias node, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor
public Object visit(SimpleNode x, Object data) throws IOException
- Specified by:
- visit in interface ParserVisitor