XCMS Toolkit

schemajic.codec
Class ASN1Encoder

java.lang.Object
  extended by schemajic.codec.Encoder
      extended by schemajic.codec.ASN1Encoder
Direct Known Subclasses:
DEREncoder

public abstract class ASN1Encoder
extends Encoder

Models the abstract concept of an ASN.1 value encoder.

Version:
1.00 - 2006/01/14
Author:
support@phillipgriffin.com

Constructor Summary
ASN1Encoder()
          Constructor for ASN1Encoder.
 
Method Summary
 TagList getCurrentTags()
          Returns the current ASN.1 type tag.
protected  java.io.OutputStream getOutputStream()
          Returns the current output stream.
 void setCurrentTags(TagList tags)
          Sets the value of the current ASN.1 type tag.
protected  void setOutputStream(java.io.OutputStream out)
          Sets the current output stream.
 
Methods inherited from class schemajic.codec.Encoder
encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1Encoder

public ASN1Encoder()
Constructor for ASN1Encoder.

Method Detail

setCurrentTags

public void setCurrentTags(TagList tags)
Sets the value of the current ASN.1 type tag.

Parameters:
tags - a list of ASN.1 type indicators

getCurrentTags

public TagList getCurrentTags()
Returns the current ASN.1 type tag.


getOutputStream

protected java.io.OutputStream getOutputStream()
Returns the current output stream.


setOutputStream

protected void setOutputStream(java.io.OutputStream out)
Sets the current output stream.


XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.