public class DERWriter extends FilterOutputStream
out| Constructor and Description |
|---|
DERWriter() |
DERWriter(int initialSize) |
DERWriter(OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
toByteArray() |
void |
writeBigInteger(BigInteger value) |
void |
writeBigInteger(byte... bytes) |
void |
writeBigInteger(byte[] bytes,
int off,
int len) |
void |
writeLength(int len) |
void |
writeObject(byte tag,
int len,
byte... data) |
public DERWriter()
public DERWriter(int initialSize)
public DERWriter(OutputStream stream)
public void writeBigInteger(BigInteger value) throws IOException
IOExceptionpublic void writeBigInteger(byte... bytes)
throws IOException
IOExceptionpublic void writeBigInteger(byte[] bytes,
int off,
int len)
throws IOException
IOExceptionpublic void writeObject(byte tag,
int len,
byte... data)
throws IOException
IOExceptionpublic void writeLength(int len)
throws IOException
IOExceptionpublic byte[] toByteArray()
throws IOException
IOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.