codec.asn1
Interface Decoder

All Known Implementing Classes:
DERDecoder

public interface Decoder

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

Version:
"$Id: Decoder.java,v 1.2 2000/12/06 17:47:28 vroth Exp $"
Author:
Volker Roth

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(ASN1Type t)
           
 void readString(ASN1String t)
           
 void readTaggedType(ASN1TaggedType t)
           
 void readTime(ASN1Time t)
           
 ASN1Type readType()
           
 void readType(ASN1Type t)
           
 

Method Detail

readType

public ASN1Type readType()
                  throws ASN1Exception,
                         IOException

readType

public void readType(ASN1Type t)
              throws ASN1Exception,
                     IOException

readBoolean

public void readBoolean(ASN1Boolean t)
                 throws ASN1Exception,
                        IOException

readInteger

public void readInteger(ASN1Integer t)
                 throws ASN1Exception,
                        IOException

readBitString

public void readBitString(ASN1BitString t)
                   throws ASN1Exception,
                          IOException

readOctetString

public void readOctetString(ASN1OctetString t)
                     throws ASN1Exception,
                            IOException

readNull

public void readNull(ASN1Null t)
              throws ASN1Exception,
                     IOException

readObjectIdentifier

public void readObjectIdentifier(ASN1ObjectIdentifier t)
                          throws ASN1Exception,
                                 IOException

readReal

public void readReal(ASN1Type t)
              throws ASN1Exception,
                     IOException

readString

public void readString(ASN1String t)
                throws ASN1Exception,
                       IOException

readCollection

public void readCollection(ASN1Collection t)
                    throws ASN1Exception,
                           IOException

readCollectionOf

public void readCollectionOf(ASN1CollectionOf t)
                      throws ASN1Exception,
                             IOException

readTime

public void readTime(ASN1Time t)
              throws ASN1Exception,
                     IOException

readTaggedType

public void readTaggedType(ASN1TaggedType t)
                    throws ASN1Exception,
                           IOException

readChoice

public void readChoice(ASN1Choice t)
                throws ASN1Exception,
                       IOException


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.