Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1
Class ASN1OutputStream

    java.lang.Object
      org.bouncycastle.asn1.ASN1OutputStream

public class ASN1OutputStream
extends java.lang.Object

Stream that produces output based on the default encoding for the passed in objects.

Method Summary
`void` | `close()`
`static ASN1OutputStream` | `create(java.io.OutputStream out)`
`static ASN1OutputStream` | `create(java.io.OutputStream out, java.lang.String encoding)`
`void` | `flush()`
`void` | `writeObject(ASN1Encodable encodable)`
`void` | `writeObject(ASN1Primitive primitive)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### create

    public static ASN1OutputStream create(java.io.OutputStream out)

### create

    public static ASN1OutputStream create(java.io.OutputStream out,
                                          java.lang.String encoding)

### close

    public void close()
               throws java.io.IOException

  Throws:
    `java.io.IOException`

### flush

    public void flush()
               throws java.io.IOException

  Throws:
    `java.io.IOException`

### writeObject

    public final void writeObject(ASN1Encodable encodable)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### writeObject

    public final void writeObject(ASN1Primitive primitive)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD