public class ASN1OutputStream
extends java.io.FilterOutputStream
| Constructor and Description |
|---|
ASN1OutputStream(ASN1Encoder encoder,
java.io.OutputStream out)
Creates an output stream filter built on top of the specified
underlying output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b,
int off,
int len) |
void |
writeObject(ASN1Object asn1Object) |
public ASN1OutputStream(ASN1Encoder encoder, java.io.OutputStream out)
out - the underlying output stream to be assigned to
the field this.out for later use, or
null if this instance is to be
created without an underlying stream.public void writeObject(ASN1Object asn1Object) throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOException