org.demac.impl.j2me.process.base.service.webservices.asn1
Interface Decoder

All Known Implementing Classes:
BERDecoder, DERDecoder

public interface Decoder

Defines the methods that must be implemented by decoders of ASN.1 types.


Method Summary
 void readBitString(ASN1BitString t)
           
 void readBoolean(ASN1Boolean t)
           
 void readChoice(ASN1Choice t)
           
 void readCollection(ASN1Collection t)
           
 void readCollectionOf(ASN1CollectionOf t)
           
 void readInteger(ASN1Integer t)
           
 void readNull(ASN1Null t)
           
 void readObjectIdentifier(ASN1ObjectIdentifier t)
           
 void readOctetString(ASN1OctetString t)
           
 void readReal(ASN1Real t)
           
 void readString(ASN1String t)
           
 void readTaggedType(ASN1TaggedType t)
           
 void readTime(ASN1Time t)
           
 ASN1Type readType()
           
 void readType(ASN1Type t)
           
 

Method Detail

readType

ASN1Type readType()
                  throws ASN1Exception,
                         java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readType

void readType(ASN1Type t)
              throws ASN1Exception,
                     java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readBoolean

void readBoolean(ASN1Boolean t)
                 throws ASN1Exception,
                        java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readInteger

void readInteger(ASN1Integer t)
                 throws ASN1Exception,
                        java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readBitString

void readBitString(ASN1BitString t)
                   throws ASN1Exception,
                          java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readOctetString

void readOctetString(ASN1OctetString t)
                     throws ASN1Exception,
                            java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readNull

void readNull(ASN1Null t)
              throws ASN1Exception,
                     java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readObjectIdentifier

void readObjectIdentifier(ASN1ObjectIdentifier t)
                          throws ASN1Exception,
                                 java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readReal

void readReal(ASN1Real t)
              throws ASN1Exception,
                     java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readString

void readString(ASN1String t)
                throws ASN1Exception,
                       java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readCollection

void readCollection(ASN1Collection t)
                    throws ASN1Exception,
                           java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readCollectionOf

void readCollectionOf(ASN1CollectionOf t)
                      throws ASN1Exception,
                             java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readTime

void readTime(ASN1Time t)
              throws ASN1Exception,
                     java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readTaggedType

void readTaggedType(ASN1TaggedType t)
                    throws ASN1Exception,
                           java.io.IOException
Throws:
ASN1Exception
java.io.IOException

readChoice

void readChoice(ASN1Choice t)
                throws ASN1Exception,
                       java.io.IOException
Throws:
ASN1Exception
java.io.IOException