pasn.encoding.xer
Class XEROutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
pasn.encoding.ASN1OutputStream
pasn.encoding.xer.XEROutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class XEROutputStream
- extends ASN1OutputStream
- Author:
- ncottin
Methods inherited from class java.io.FilterOutputStream |
close, flush, write, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public static final java.lang.String id
- See Also:
- Constant Field Values
TABULATION
public static final char TABULATION
- See Also:
- Constant Field Values
BEGIN_START_TAG
public static final byte[] BEGIN_START_TAG
BEGIN_END_TAG
public static final byte[] BEGIN_END_TAG
END_TAG
public static final byte[] END_TAG
NEW_LINE
public static final byte[] NEW_LINE
PROLOG
public static final byte[] PROLOG
XEROutputStream
public XEROutputStream(java.io.OutputStream out)
- Parameters:
out
-
XEROutputStream
public XEROutputStream(java.io.File dest)
throws java.io.FileNotFoundException
- Parameters:
dest
-
- Throws:
java.io.FileNotFoundException
XEROutputStream
public XEROutputStream(java.lang.String destPath)
throws java.io.FileNotFoundException
- Parameters:
destPath
-
- Throws:
java.io.FileNotFoundException
XEROutputStream
public XEROutputStream(java.io.OutputStream out,
boolean canonical)
- Parameters:
out
- canonical
-
XEROutputStream
public XEROutputStream(java.io.File dest,
boolean canonical)
throws java.io.FileNotFoundException
- Parameters:
dest
- canonical
-
- Throws:
java.io.FileNotFoundException
XEROutputStream
public XEROutputStream(java.lang.String destPath,
boolean canonical)
throws java.io.FileNotFoundException
- Parameters:
destPath
- canonical
-
- Throws:
java.io.FileNotFoundException
XEROutputStream
public XEROutputStream(java.io.OutputStream out,
boolean canonical,
boolean prolog)
XEROutputStream
public XEROutputStream(java.io.File dest,
boolean canonical,
boolean prolog)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
XEROutputStream
public XEROutputStream(java.lang.String destPath,
boolean canonical,
boolean prolog)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
getIdentifier
public final java.lang.String getIdentifier()
- Specified by:
getIdentifier
in class ASN1OutputStream
enableWriteProlog
public final void enableWriteProlog(boolean enable)
isWritePrologEnabled
public final boolean isWritePrologEnabled()
setCanonical
public final void setCanonical(boolean canonical)
isCanonical
public final boolean isCanonical()
encode
public final void encode(ASN1PrimitiveObject asn,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
encode
public final void encode(ASN1ConstructedObject asn,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
encode
public final void encode(ASN1MandatoryComponent comp,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
encode
public final void encode(ASN1TaggedObject tasn,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
encode
public final void encode(ASN1TransparentObject asn,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
encode
public final void encode(ASN1PrimitiveOrConstructedObject asn,
boolean optional)
throws java.io.IOException,
ASN1EncodingException
- Specified by:
encode
in class ASN1OutputStream
- Throws:
java.io.IOException
ASN1EncodingException
newInstance
public ASN1OutputStream newInstance(java.io.OutputStream out)
- Specified by:
newInstance
in class ASN1OutputStream