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
IOException
public void writeBigInteger(byte... bytes) throws IOException
IOException
public void writeBigInteger(byte[] bytes, int off, int len) throws IOException
IOException
public void writeObject(byte tag, int len, byte... data) throws IOException
IOException
public void writeLength(int len) throws IOException
IOException
public byte[] toByteArray() throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.