Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
cryptix.asn1.encoding.BaseCoder
cryptix.asn1.encoding.DER
public class DER
extends BaseCoder
Nested Class Summary | |
(package private) class |
Field Summary |
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 |
|
boolean |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
Methods inherited from class cryptix.asn1.encoding.BaseCoder | |
decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , decode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , encode , getInstance , getState , init , init , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visit , visitInternal |
public void decode(InputStream in, int level) throws IOException
public void decode(ASNAny obj, InputStream in) throws IOException
Decodes an ANY, represented as byte[] -- EKR
- Specified by:
- decode in interface CoderOperations
public void decode(ASNBitString obj, InputStream in) throws IOException
Decodes a BIT STRING --internally represented as a byte[].
- Specified by:
- decode in interface CoderOperations
public void decode(ASNBoolean obj, InputStream in) throws IOException
Decodes a BOOLEAN --internally represented as a Boolean.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNInteger obj, InputStream in) throws IOException
Decodes an INTEGER -- internally represented as a BigInteger.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNNull obj, InputStream in) throws IOException
Decodes a NULL --internally represented as a null.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNObjectIdentifier obj, InputStream in) throws IOException
Decodes an OID --internally represented as a dot-separated String.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNOctetString obj, InputStream in) throws IOException
Decodes an OCTET STRING --internally represented as a byte[].
- Specified by:
- decode in interface CoderOperations
public void decode(ASNPrintableString obj, InputStream in) throws IOException
Decodes a PrintableString --internally represented as a String.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSequence obj, InputStream in) throws IOException
Decodes a SEQUENCE --internally represented as an array.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSequenceOf obj, InputStream in) throws IOException
Decodes a SEQUENCE OF --internally represented as an array.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSet obj, InputStream in) throws IOException
Decodes a SET --internally represented as an array.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNSetOf obj, InputStream in) throws IOException
Decodes a SET OF --internally represented as an array.
- Specified by:
- decode in interface CoderOperations
public void decode(ASNTaggedType obj, InputStream in) throws IOException
Decodes a Tagged Type -- rewritten by EKR
- Specified by:
- decode in interface CoderOperations
public void decode(ASNTime obj, InputStream in) throws IOException
Decodes a UTCTime --internally represented as a Date.
- Specified by:
- decode in interface CoderOperations
public void decodeExplicitTaggedType(ASNTaggedType obj, InputStream in) throws IOException
Decodes an EXPLICIT Tagged Type.
public boolean decodeImplicitTaggedType(ASNTaggedType obj, InputStream in) throws IOException
Decodes an IMPLICIT Tagged Type.
public void encode(ASNBoolean obj, OutputStream out) throws IOException
Encodes a BOOLEAN.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNNull obj, OutputStream out) throws IOException
Encodes a NULL.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNObjectIdentifier obj, OutputStream out) throws IOException
Encodes an OID. OIDs are represented as dotted strings.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNOctetString obj, OutputStream out) throws IOException
Encodes an OCTET STRING.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNSequence obj, OutputStream out) throws IOException
Encodes a SEQUENCE.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNTaggedType obj, OutputStream out) throws IOException
Encodes an ASN.1 Tagged type.
- Specified by:
- encode in interface CoderOperations
public void encode(ASNTime obj, OutputStream out) throws IOException
Encodes a UTCTime.
- Specified by:
- encode in interface CoderOperations